summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd/hostap-daemon-2.6/init
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/hostapd/hostap-daemon-2.6/init')
-rwxr-xr-xrecipes-connectivity/hostapd/hostap-daemon-2.6/init3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-connectivity/hostapd/hostap-daemon-2.6/init b/recipes-connectivity/hostapd/hostap-daemon-2.6/init
index 39ae389..5bd7ab6 100755
--- a/recipes-connectivity/hostapd/hostap-daemon-2.6/init
+++ b/recipes-connectivity/hostapd/hostap-daemon-2.6/init
@@ -21,6 +21,9 @@ case "$1" in
fi
echo -n "Starting $DESC: "
start-stop-daemon -S -x $DAEMON -- $ARGS
+ if [[ -n $POSTUP ]] ; then
+ bash -c "$POSTUP"
+ fi
echo "$NAME."
;;
stop)