+
+ ln -sf ../init.d/sysklogd /etc/rc.d/rc0.d/K90sysklogd
+ ln -sf ../init.d/sendsignals /etc/rc.d/rc0.d/S60sendsignals
+ ln -sf ../init.d/localnet /etc/rc.d/rc0.d/S70localnet
+ ln -sf ../init.d/mountfs /etc/rc.d/rc0.d/S80mountfs
+ ln -sf ../init.d/swap /etc/rc.d/rc0.d/S90swap
+ ln -sf ../init.d/halt /etc/rc.d/rc0.d/S99halt
+ ln -sf ../init.d/sysklogd /etc/rc.d/rc3.d/S10sysklogd
+ ln -sf ../init.d/smartenabler /etc/rc.d/rc3.d/S19smartenabler
+ ln -sf ../init.d/messagebus /etc/rc.d/rc3.d/S15messagebus
+ ln -sf ../init.d/messagebus /etc/rc.d/rc0.d/K85messagebus
+ ln -sf ../init.d/messagebus /etc/rc.d/rc6.d/K85messagebus
+ ln -sf ../init.d/bluetooth /etc/rc.d/rc3.d/S16bluetooth
+ ln -sf ../init.d/bluetooth /etc/rc.d/rc0.d/K84bluetooth
+ ln -sf ../init.d/bluetooth /etc/rc.d/rc6.d/K84bluetooth
+ ln -sf ../init.d/cpufreq /etc/rc.d/rc3.d/S18cpufreq
+ ln -sf ../init.d/sysklogd /etc/rc.d/rc6.d/K90sysklogd
+ ln -sf ../init.d/sendsignals /etc/rc.d/rc6.d/S60sendsignals
+ ln -sf ../init.d/mountfs /etc/rc.d/rc6.d/S70mountfs
+ ln -sf ../init.d/swap /etc/rc.d/rc6.d/S80swap
+ ln -sf ../init.d/localnet /etc/rc.d/rc6.d/S90localnet
+ ln -sf ../init.d/reboot /etc/rc.d/rc6.d/S99reboot
+ ln -sf ../init.d/sshd /etc/rc.d/rc0.d/K30sshd
+ ln -sf ../init.d/sshd /etc/rc.d/rc3.d/S30sshd
+ ln -sf ../init.d/sshd /etc/rc.d/rc6.d/K30sshd
+ ln -sf ../init.d/apache /etc/rc.d/rc0.d/K28apache
+ ln -sf ../init.d/apache /etc/rc.d/rc3.d/S32apache
+ ln -sf ../init.d/apache /etc/rc.d/rc6.d/K28apache
+ ln -sf ../init.d/fcron /etc/rc.d/rc0.d/K08fcron
+ ln -sf ../init.d/fcron /etc/rc.d/rc3.d/S40fcron
+ ln -sf ../init.d/fcron /etc/rc.d/rc6.d/K08fcron
+ ln -sf ../init.d/snort /etc/rc.d/rc0.d/K78snort
+ ln -sf ../init.d/snort /etc/rc.d/rc6.d/K78snort
+ ln -sf ../init.d/network /etc/rc.d/rc0.d/K80network
+ ln -sf ../init.d/network /etc/rc.d/rc3.d/S20network
+ ln -sf ../init.d/network /etc/rc.d/rc6.d/K80network
+ ln -sf ../init.d/random /etc/rc.d/rc0.d/K45random
+ ln -sf ../init.d/random /etc/rc.d/rc3.d/S25random
+ ln -sf ../init.d/random /etc/rc.d/rc6.d/K45random
+ ln -sf ../../sysconfig/rc.local /etc/rc.d/rc3.d/S98rc.local
+ ln -sf ../init.d/tmpfs /etc/rc.d/rc0.d/K85tmpfs
+ ln -sf ../init.d/tmpfs /etc/rc.d/rc3.d/S01tmpfs
+ ln -sf ../init.d/tmpfs /etc/rc.d/rc6.d/K85tmpfs
+ ln -sf ../init.d/mediatomb /etc/rc.d/rc3.d/S98mediatomb
+ ln -sf ../init.d/mediatomb /etc/rc.d/rc0.d/K02mediatomb
+ ln -sf ../init.d/mediatomb /etc/rc.d/rc6.d/K02mediatomb
+ ln -sf ../init.d/client175 /etc/rc.d/rc0.d/K34client175
+ ln -sf ../init.d/client175 /etc/rc.d/rc3.d/S66client175
+ ln -sf ../init.d/client175 /etc/rc.d/rc6.d/K34client175
+ ln -sf ../init.d/sslh /etc/rc.d/rc3.d/S98sslh
+ ln -sf ../init.d/sslh /etc/rc.d/rc0.d/K02sslh
+ ln -sf ../init.d/sslh /etc/rc.d/rc6.d/K02sslh
+ ln -sf ../init.d/vdradmin /etc/rc.d/rc3.d/S99vdradmin
+ ln -sf ../init.d/vdradmin /etc/rc.d/rc0.d/K01vdradmin
+ ln -sf ../init.d/vdradmin /etc/rc.d/rc6.d/K01vdradmin
+ ln -sf ../init.d/motion /etc/rc.d/rc3.d/S99motion
+ ln -sf ../init.d/motion /etc/rc.d/rc0.d/K01motion
+ ln -sf ../init.d/motion /etc/rc.d/rc6.d/K01motion
+ ln -sf ../init.d/imspetor /etc/rc.d/rc3.d/S99imspetor
+ ln -sf ../init.d/imspetor /etc/rc.d/rc0.d/K01imspetor
+ ln -sf ../init.d/imspetor /etc/rc.d/rc6.d/K01imspetor
+ ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc0.d/K49cyrus-sasl
+ ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc3.d/S24cyrus-sasl
+ ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc6.d/K49cyrus-sasl
+ ln -sf ../init.d/leds /etc/rc.d/rc0.d/K79leds
+ ln -sf ../init.d/leds /etc/rc.d/rc3.d/S21leds
+ ln -sf ../init.d/leds /etc/rc.d/rc6.d/K79leds
+ ln -sf ../init.d/fireinfo /etc/rc.d/rc3.d/S15fireinfo
+ ln -sf ../init.d/mountkernfs /etc/rc.d/rcsysinit.d/S00mountkernfs
+ ln -sf ../init.d/modules /etc/rc.d/rcsysinit.d/S05modules
+ ln -sf ../init.d/udev /etc/rc.d/rcsysinit.d/S10udev
+ ln -sf ../init.d/waitdrives /etc/rc.d/rcsysinit.d/S19waitdrives
+ ln -sf ../init.d/swap /etc/rc.d/rcsysinit.d/S20swap
+ ln -sf ../init.d/checkfs /etc/rc.d/rcsysinit.d/S30checkfs
+ ln -sf ../init.d/mountfs /etc/rc.d/rcsysinit.d/S40mountfs
+ ln -sf ../init.d/udev_retry /etc/rc.d/rcsysinit.d/S45udev_retry
+ ln -sf ../init.d/cleanfs /etc/rc.d/rcsysinit.d/S50cleanfs
+ ln -sf ../init.d/setclock /etc/rc.d/rcsysinit.d/S60setclock
+ ln -sf ../init.d/console /etc/rc.d/rcsysinit.d/S70console
+ ln -sf ../init.d/firstsetup /etc/rc.d/rcsysinit.d/S75firstsetup
+ ln -sf ../init.d/localnet /etc/rc.d/rcsysinit.d/S80localnet
+ ln -sf ../init.d/sysctl /etc/rc.d/rcsysinit.d/S90sysctl
+
+ ln -sf ../../dnsmasq /etc/rc.d/init.d/networking/red.up/05-RS-dnsmasq
+ ln -sf ../../firewall /etc/rc.d/init.d/networking/red.up/20-RL-firewall
+ ln -sf ../../../../../usr/local/bin/outgoingfwctrl \
+ /etc/rc.d/init.d/networking/red.up/22-outgoingfwctrl
+ ln -sf ../../../../../usr/local/bin/snortctrl \
+ /etc/rc.d/init.d/networking/red.up/23-RS-snort
+ ln -sf ../../../../../usr/local/bin/qosctrl \
+ /etc/rc.d/init.d/networking/red.up/24-RS-qos
+ ln -sf ../../../../../usr/local/bin/setportfw \
+ /etc/rc.d/init.d/networking/red.up/25-portfw
+ ln -sf ../../../../../usr/local/bin/setxtaccess \
+ /etc/rc.d/init.d/networking/red.up/26-xtaccess
+ ln -sf ../../../../../usr/local/bin/dialctrl.pl \
+ /etc/rc.d/init.d/networking/red.up/99-U-dialctrl.pl
+ ln -sf ../../squid /etc/rc.d/init.d/networking/red.up/27-RS-squid
+
+ ln -sf ../../dnsmasq /etc/rc.d/init.d/networking/red.down/05-RS-dnsmasq
+ ln -sf ../../firewall /etc/rc.d/init.d/networking/red.down/20-RL-firewall
+ ln -sf ../../../../../usr/local/bin/dialctrl.pl \
+ /etc/rc.d/init.d/networking/red.down/99-D-dialctrl.pl
+
+ for i in green blue orange; do \
+ ln -sf any /etc/rc.d/init.d/networking/$$i; \
+ done
+
+ # ARM does not need checkfstab
+ifeq "$(MACHINE_TYPE)" "arm"
+ rm -vf /etc/rc.d/init.d/checkfstab
+else
+ ln -sf ../init.d/checkfstab /etc/rc.d/rcsysinit.d/S19checkfstab
+endif