|
|
@ -42,6 +42,7 @@ sudo systemctl restart NetworkManager |
|
|
|
sudo systemctl disable ssh-param-watcher.path |
|
|
|
sudo systemctl disable ssh-param-watcher.path |
|
|
|
sudo systemctl disable ssh-param-watcher.service |
|
|
|
sudo systemctl disable ssh-param-watcher.service |
|
|
|
sudo mount -o ro,remount / |
|
|
|
sudo mount -o ro,remount / |
|
|
|
|
|
|
|
sudo systemctl stop power_monitor |
|
|
|
|
|
|
|
|
|
|
|
while true; do |
|
|
|
while true; do |
|
|
|
if ! sudo systemctl is-active -q ssh; then |
|
|
|
if ! sudo systemctl is-active -q ssh; then |
|
|
@ -54,7 +55,6 @@ while true; do |
|
|
|
# /data/ciui.py & |
|
|
|
# /data/ciui.py & |
|
|
|
#fi |
|
|
|
#fi |
|
|
|
|
|
|
|
|
|
|
|
sudo systemctl stop power_monitor |
|
|
|
|
|
|
|
sleep 5s |
|
|
|
sleep 5s |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|