packages/utils/daemontools/patches/svscanboot.patch
markus 78f23a8679 added djb daemontools patch provided by Johnny Halfmoon
changed section from "net" to "utils"


git-svn-id: svn://svn.openwrt.org/openwrt/packages@15615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-05 09:54:30 +00:00

17 lines
940 B
Diff

--- daemontools-0.76/src/svscanboot.sh.orig 2007-01-27 11:49:38.000000000 +0100
+++ daemontools-0.76/src/svscanboot.sh 2007-01-27 11:52:07.000000000 +0100
@@ -1,11 +1,11 @@
-PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
+PATH=/bin:/sbin:/usr/bin:/usr/sbin
exec </dev/null
exec >/dev/null
exec 2>/dev/null
-/command/svc -dx /service/* /service/*/log
+/usr/bin/svc -dx /service/* /service/*/log
env - PATH=$PATH svscan /service 2>&1 | \
env - PATH=$PATH readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................