mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 20:25:13 +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
@@ -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