From: rob.naccarato () sheridanc ! on ! ca
To: tru64-unix-managers
Subject: Local Start Up Script Not Starting
Date: Mon, 12 Feb 1996 17:42:54 +0000 [thread overview]
Message-ID: <96076329121246.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1996-02-12 17:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox