diff options
Diffstat (limited to 'recipes-connectivity/hostapd/hostap-daemon-2.6/init')
-rwxr-xr-x | recipes-connectivity/hostapd/hostap-daemon-2.6/init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-connectivity/hostapd/hostap-daemon-2.6/init b/recipes-connectivity/hostapd/hostap-daemon-2.6/init index bb3319b..0f10a7a 100755 --- a/recipes-connectivity/hostapd/hostap-daemon-2.6/init +++ b/recipes-connectivity/hostapd/hostap-daemon-2.6/init @@ -13,12 +13,12 @@ set -e case "$1" in start) - if [[ -n $PREUP ]] ; then - bash -c "$PREUP" - fi if [ "$START_ON_BOOT" != "yes" ]; then exit 0 fi + if [[ -n $PREUP ]] ; then + bash -c "$PREUP" + fi echo -n "Starting $DESC: " start-stop-daemon -S -x $DAEMON -- $ARGS if [[ -n $POSTUP ]] ; then |