mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 06:13:56 +08:00
🎁 Sync 2026-06-28 03:27:39
This commit is contained in:
1 parent
60ead0452b
commit
bfdefd1724
13 files changed
+51
-42
No files matched your search
+1
-1
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ssw
|
||||
PKG_VERSION:=0.0.3
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
PKG_MAINTAINER:=Konstantine Shevlakov <shevlakov@132lan.ru>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@@ -52,7 +52,6 @@ start_service(){
|
||||
|
||||
if [ "$modem_value" = "$modem_cur" ] && [ "$sim_value" = "$sim_cur" ]; then
|
||||
logger -t "SIM SW" "Modem and SIM already in correct state. Nothing to do."
|
||||
return 0
|
||||
elif [ "$modem_value" = "$modem_cur" ] && [ "$modem_value" = "1" ]; then
|
||||
logger -t "SIM SW" "Modem already enabled on gpio $modem_gpio. Restart it."
|
||||
echo "0" > /sys/class/gpio/"$modem_gpio"/value
|
||||
|
||||
Reference in new issue
Block a user