commit bc028f382a0c21da8b9067fc207f73354f64ea5e parent b044190c521211e4637dcd64529664bd2723e139 Author: sin <sin@2f30.org> Date: Tue, 10 Jun 2014 13:52:56 +0100 Ensure that svc has a working PATH when it is called from initscripts Diffstat:
M | fs/bin/svc | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/bin/svc b/fs/bin/svc @@ -33,6 +33,9 @@ # % svc -l # list all services in /bin/svc.d/avail # % svc -r ser # restart service +PATH=/bin +export PATH + BASEDIR="/bin/svc.d" BASENAME="$(basename $0)"