projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c90625
)
fix ZSLICE exported to scripts
author
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Sat, 11 Feb 2012 19:17:05 +0000
(20:17 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Sat, 11 Feb 2012 19:17:05 +0000
(20:17 +0100)
init.d/_start_stop
patch
|
blob
|
history
diff --git
a/init.d/_start_stop
b/init.d/_start_stop
index
a839641
..
cf20f39
100755
(executable)
--- 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() {