diff options
Diffstat (limited to 'recipes-connectivity')
-rwxr-xr-x | recipes-connectivity/hostapd/hostap-daemon-2.6/init | 3 |
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 12ea944..39ae389 100755 --- a/recipes-connectivity/hostapd/hostap-daemon-2.6/init +++ b/recipes-connectivity/hostapd/hostap-daemon-2.6/init @@ -16,6 +16,9 @@ case "$1" in 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 echo "$NAME." |