From ae78d9debc33b5c0aae03987301010b0f378f2cd Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 13 Feb 2018 17:35:52 -0600 Subject: Run the postup variable. --- recipes-connectivity/hostapd/hostap-daemon-2.6/init | 3 +++ 1 file changed, 3 insertions(+) (limited to 'recipes-connectivity/hostapd') 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) -- cgit v1.2.3