composer/projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S30wireless

10 lines
162 B
Bash
Executable File

#!/bin/sh
device=$(fw_printenv -n wlandev)
if [ "$1" = "start" ] && [ ! -z "$device" ]; then
if /etc/wireless "$device"; then
echo "$device" | logger
fi
fi