Ok these are the instructions in the readme file of a program:
now..when i type the command in, X=3...but there is now rc3.d file in init.d..there are no rc* files at all. I created the file and put the code there but nothing happended...it didn't echo to the console on reboot. Where should I put the script? -Greg :-Q
Code:
If you want it to run automatically when the machine is booted, then
place the following script in your startup directory. (/etc/init.d/rcX.d
or /sbin/init.d/rcX.d or ???)
#######################################################
#! /bin/sh
case "$1" in
start)
echo "Starting noip."
/usr/local/bin/noip
;;
stop)
echo -n "Shutting down noip."
killproc -TERM /usr/local/bin/noip
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
#######################################################
Where the 'X' in rcX.d is the value obtained by running the
following command
grep initdefault /etc/inittab | awk -F: '{print $2}'
now..when i type the command in, X=3...but there is now rc3.d file in init.d..there are no rc* files at all. I created the file and put the code there but nothing happended...it didn't echo to the console on reboot. Where should I put the script? -Greg :-Q