summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2018-01-12 12:05:33 -0600
committerJason Reiss <jreiss@multitech.com>2018-01-12 12:05:33 -0600
commit1764d400cbc84ac70e62999a5d07aa95e9695a8c (patch)
treeb7b0a4fa1d7eb473a1af3108ea855162b0616860
parent82ebdb93c7bfad2b30ecb8472ef7fd65fe9e00ed (diff)
parent93971a0567826e9ddba25fb72a49ca21ddf4fd5d (diff)
downloadmeta-mlinux-1764d400cbc84ac70e62999a5d07aa95e9695a8c.tar.gz
meta-mlinux-1764d400cbc84ac70e62999a5d07aa95e9695a8c.tar.bz2
meta-mlinux-1764d400cbc84ac70e62999a5d07aa95e9695a8c.zip
Merge branch '3' of gitlab.multitech.net:mirrors/meta-mlinux into 3
-rwxr-xr-xrecipes-connectivity/hostapd/hostap-daemon-2.6/init6
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