* Local Start Up Script Not Starting
@ 1996-02-12 17:42 rob.naccarato
0 siblings, 0 replies; only message in thread
From: rob.naccarato @ 1996-02-12 17:42 UTC (permalink / raw)
To: tru64-unix-managers
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@sheridanc.on.ca
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-02-12 17:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-02-12 17:42 Local Start Up Script Not Starting rob.naccarato
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox