summaryrefslogtreecommitdiff
path: root/package/pmacct
diff options
context:
space:
mode:
Diffstat (limited to 'package/pmacct')
-rw-r--r--package/pmacct/files/nfacctd.init1
-rw-r--r--package/pmacct/files/pmacctd.init1
2 files changed, 2 insertions, 0 deletions
diff --git a/package/pmacct/files/nfacctd.init b/package/pmacct/files/nfacctd.init
index 5acd849b4..bae6be494 100644
--- a/package/pmacct/files/nfacctd.init
+++ b/package/pmacct/files/nfacctd.init
@@ -7,6 +7,7 @@ case $1 in
autostop) ;;
autostart)
test x"${nfacctd:-NO}" = x"NO" && exit 0
+ test x"$nfacctd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start
;;
start)
diff --git a/package/pmacct/files/pmacctd.init b/package/pmacct/files/pmacctd.init
index d56a01330..d3f5a3017 100644
--- a/package/pmacct/files/pmacctd.init
+++ b/package/pmacct/files/pmacctd.init
@@ -7,6 +7,7 @@ case $1 in
autostop) ;;
autostart)
test x"${pmacctd:-NO}" = x"NO" && exit 0
+ test x"$pmacctd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start
;;
start)