--- daemon-init.in.orig Sat Mar 24 19:58:26 2001 +++ daemon-init.in Tue May 1 19:38:52 2001 @@ -68,12 +68,9 @@ # Source function library -# Solaris doesn't have an rc.d directory, so do a test first -#if [ -f /etc/rc.d/init.d/functions ]; then -#. /etc/rc.d/init.d/functions -#elif [ -f /etc/init.d/functions ]; then -#. /etc/init.d/functions -#fi +if [ -f @sysconfdir@/functions ]; then +. @sysconfdir@/functions +fi prefix=@prefix@ exec_prefix=@exec_prefix@ @@ -102,7 +99,7 @@ start) echo "Starting network monitor: netsaint" - su $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" + su -m $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" rm -f $NetsaintCmd $NetsaintBin -d $NetsaintCfg if [ -d $NetsaintLckDir ]; then touch $NetsaintLckDir/$NetsaintLckFile; fi