From f5ce8e2b47876e244ca0c3c8d05281ff5888a883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E8=AF=9D?= <49544781+xiaomeng9597@users.noreply.github.com> Date: Mon, 20 May 2024 21:00:28 +0800 Subject: [PATCH] add opwifi --- configfiles/opwifi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 configfiles/opwifi 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 +}