Startup Command
How to execute command when system start
By. Efriel Elyasa, efriel_e@yahoo.co.id
1. create file inside /etc/init.d/ directory
a. or using konsol command
# vi /etc/init.d/file-startup.sh
write inside:
/bin/bash
…executable command…
ketik :wq for save and exit from VI
setup access setup
# chmod +x /etc/init.d/ file-startup.sh
run this command for allway executing when computer boot
# update-rc.d file-startup.sh defaults
type this command to see another sturtup
# ls –l /etc/rc3.d/
