I have created my own local start up script that should run when the
system is booted, but the commands contained therein do not seem to get
started. Is this a simple shell script problem, or what?
In /sbin/rc3.d/ I have created this symlink:
lrwxrwxrwx 1 root bin 15 Oct 30 15:36 /sbin/rc3.d/S99local ->
../init.d/local
In /sbin/init.d/ I created the following file:
-rwxr-xr-- 1 bin bin 632 Nov 8 19:25 /sbin/init.d/local
Within this script is the following:
#!/bin/sh
#
# Set up local cusomizations in here.
# To be run as the last file on boot and the first on shutdown.
echo "Local customizations..."
case $1 in
'start')
echo -n "Starting stats gathering: "
echo -n "iostat "
/usr/bin/iostat rz0 rz1 rz2 rz5 900 | logger -p local1.debug &
;;
'stop')
;;
esac
Many thanks in advance...
--
Rob Naccarato
rob.naccarato_at_sheridanc.on.ca
Received on Mon Feb 12 1996 - 20:06:44 NZDT