blob: 1820da920208079afee0f917b9b4fed755dc45f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- 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
|