From: Dobrica Pavlinusic Date: Sat, 11 Feb 2012 19:17:05 +0000 (+0100) Subject: fix ZSLICE exported to scripts X-Git-Url: http://git.rot13.org/?p=cloudstore.git;a=commitdiff_plain;h=67f05d48953f680ff2cd7ec33ef2e89451cee719;hp=5c906257e8593f9a7b77b0d2674d5849cb8467e6 fix ZSLICE exported to scripts --- diff --git a/init.d/_start_stop b/init.d/_start_stop index a839641..cf20f39 100755 --- a/init.d/_start_stop +++ b/init.d/_start_stop @@ -5,7 +5,7 @@ NAME=`basename $0` # generate ZSLICE and SLICE from group name export SLICE_GROUP=`echo $NAME | cut -d\- -f1` export SLICE=`grep $SLICE_GROUP /var/lib/extrausers/group | cut -d: -f2` -export ZSLICE=`echo $SLICE | sed 's;^;;'` +export ZSLICE=`echo $SLICE | sed 's;^/;;'` _start_stop() {