sxmo_suspend.sh: switch from sudo -> doas
idk, some path problem with sudo ending up in /etc/profiles/per-user/colin/bin/sudo
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
|
||||
suspend_time=300
|
||||
|
||||
sudo rtl8723cs-wowlan enable-clean
|
||||
doas rtl8723cs-wowlan enable-clean
|
||||
# wake on ssh
|
||||
sudo rtl8723cs-wowlan tcp --dest-port 22
|
||||
doas rtl8723cs-wowlan tcp --dest-port 22
|
||||
# wake on notification (ntfy/Universal Push)
|
||||
sudo rtl8723cs-wowlan tcp --source-port 2587
|
||||
doas rtl8723cs-wowlan tcp --source-port 2587
|
||||
# wake if someone doesn't know how to route to us, because that could obstruct the above
|
||||
sudo rtl8723cs-wowlan arp --dest-ip 10.78.79.54
|
||||
doas rtl8723cs-wowlan arp --dest-ip 10.78.79.54
|
||||
|
||||
echo "calling suspend for duration: $suspend_time"
|
||||
|
||||
|
Reference in New Issue
Block a user