mirror of
https://github.com/srlabs/blue-merle.git
synced 2025-04-06 14:23:40 -04:00
web: forcefully timout the python script
sometimes it has a hickup.
This commit is contained in:
parent
f7a9494a0c
commit
c88d04003b
@ -27,7 +27,7 @@ elif [ "$1" == "read-imsi" ]; then
|
||||
fi
|
||||
|
||||
elif [ "$1" == "random-imei" ]; then
|
||||
/lib/blue-merle/imei_generate.py --random
|
||||
flock -n /tmp/blue-merle-imei-generate.lock timeout 15 /lib/blue-merle/imei_generate.py --random
|
||||
READ_IMEI
|
||||
|
||||
elif [ "$1" == "shutdown-modem" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user