mirror of
https://github.com/srlabs/blue-merle.git
synced 2025-01-03 03:20:52 -05: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…
Reference in New Issue
Block a user