How to run a script at startup after a shutdown?
I have this script:
ken@uptime:~> cat /etc/rc.local
/etc/init.d/uptime_db start &
/etc/init.d/uptmd_sh start &
/opt/tivoli/tsm/client/ba/bin/dsm.sh start &
echo 'started uptime and tsm client'
I want it to run every time I startup. Right now I can run it by hand. I thought it should go in /etc/rc.local, but that didn't work. I tried putting it in /etc/rc, but that doesn't work either.