Init.d links creation

From MyWiki

Jump to: navigation, search

init.d links creation

update-rc.d hibernate-cleanup.sh start 31 S .

this one will create

  /etc/rcS.d/S31hibernate-cleanup.sh -> ../init.d/hibernate-cleanup.sh
update-rc.d iptables defaults 10 90

this one will create:

  /etc/rc0.d/K90iptables -> ../init.d/iptables
  /etc/rc1.d/K90iptables -> ../init.d/iptables
  /etc/rc6.d/K90iptables -> ../init.d/iptables
  /etc/rc2.d/S10iptables -> ../init.d/iptables
  /etc/rc3.d/S10iptables -> ../init.d/iptables
  /etc/rc4.d/S10iptables -> ../init.d/iptables
  /etc/rc5.d/S10iptables -> ../init.d/iptables
Personal tools