diff --git a/configfiles/opwifi b/configfiles/opwifi new file mode 100644 index 0000000..a5e60e5 --- /dev/null +++ b/configfiles/opwifi @@ -0,0 +1,19 @@ +#!/bin/sh /etc/rc.common + +START=99 + +start() { + /sbin/wifi up + return 0 +} + +stop() { + /sbin/wifi down + return 0 +} + +restart() { + if stop; then + start + fi +}