This commit is contained in:
committed by
Git OBS Bridge
parent
83481adde8
commit
9525994e02
@@ -231,6 +231,7 @@
|
||||
SV_E='^### END INIT INFO' \
|
||||
SV_KW=Default-Enabled \
|
||||
SV_VALUE=`sed -n -e "/$SV_B/,/$SV_E/{/^# [^[:space:]]*$SV_KW:[[:space:]]*\\([^[:space:]]*\\).*/s//\\1/p;}" < etc/init.d/$SCRIPTNAME` \
|
||||
test "$FORCE_YES" = "1" && SV_VALUE="yes" \
|
||||
test -n "$SV_VALUE" || SV_VALUE=%{-y:"yes"}%{!-y:"no"} \
|
||||
INSSRV_ARRAY="$INSSRV_ARRAY $SCRIPTNAME $SV_VALUE" \
|
||||
done \
|
||||
|
Reference in New Issue
Block a user