parent
f53a859d80
commit
8acafeecc4
|
|
@ -124,7 +124,7 @@ def poweroff(gpio):
|
||||||
ser.write(b'AT+CPWROFF\r')
|
ser.write(b'AT+CPWROFF\r')
|
||||||
ser.close()
|
ser.close()
|
||||||
|
|
||||||
time.sleep(2)
|
time.sleep(7.5)
|
||||||
|
|
||||||
gpio.set_value(0)
|
gpio.set_value(0)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ Type=oneshot
|
||||||
ExecStart=/usr/bin/ublox-config
|
ExecStart=/usr/bin/ublox-config
|
||||||
ExecStop=/usr/bin/ublox-config stop
|
ExecStop=/usr/bin/ublox-config stop
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
TimeoutStopSec=20
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
RequiredBy=ModemManager.service
|
RequiredBy=ModemManager.service
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue