add opwifi

This commit is contained in:
桐话
2024-05-20 21:00:28 +08:00
committed by GitHub
parent 516aff50ab
commit f5ce8e2b47
+19
View File
@@ -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
}