mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-18 06:02:53 +08:00
update 2026-08-06 10:03:43
This commit is contained in:
1 parent
80cf326a9a
commit
d02fd7ae3d
1958 files changed
+1523004
-2
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=45
|
||||
STOP=89
|
||||
|
||||
start() {
|
||||
service_start /usr/bin/pcat-manager -D
|
||||
}
|
||||
|
||||
stop() {
|
||||
service_stop /usr/bin/pcat-manager
|
||||
}
|
||||
|
||||
restart() {
|
||||
killall -USR1 pcat-manager
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
||||
shutdown() {
|
||||
touch /tmp/pcat-manager-shutdown.tmp
|
||||
stop
|
||||
rfkill block wwan 2>/dev/null || true
|
||||
}
|
||||
Reference in new issue
Block a user