mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
bd994ab71e
change maintainer email address PR: 27012, 27013 Submitted by: MAINTAINER
28 lines
812 B
Plaintext
28 lines
812 B
Plaintext
--- 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
|