From: Thierry Parmentelat Date: Fri, 14 Jun 2013 07:21:49 +0000 (+0200) Subject: do start flash policy server when configured X-Git-Tag: sfa-3.0-1~7 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=771b794064e6f57cc43cd7ef4aa5d120ea8ed47c;p=sfa.git do start flash policy server when configured --- diff --git a/init.d/sfa b/init.d/sfa index db1708f7..0ba2385a 100755 --- a/init.d/sfa +++ b/init.d/sfa @@ -315,7 +315,7 @@ function start() { [ "$SFA_SM_ENABLED" == 1 -o "$SFA_SM_ENABLED" == True ] && action "SFA: SliceMgr" daemon /usr/bin/sfa-start.py -s -d $OPTIONS - [ "$SFA_FLASHPOLICY_ENABLED" == 1 ] && \ + [ "$SFA_FLASHPOLICY_ENABLED" == 1 -o "$SFA_FLASHPOLICY_ENABLED" == True ] && \ action "Flash Policy Server" daemon /usr/bin/sfa_flashpolicy.py --file="$SFA_FLASHPOLICY_CONFIG_FILE" --port=$SFA_FLASHPOLICY_PORT -d touch $SFALOCK @@ -361,4 +361,3 @@ case "$1" in esac exit $RETVAL -