mirror of https://github.com/OpenIPC/firmware.git
dont run 2 copies sysupgrade script
parent
72e5f03bae
commit
fb8c6ae140
|
@ -1,8 +1,13 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# OpenIPC.org | v.20220222
|
||||
# OpenIPC.org | v.20220722
|
||||
#
|
||||
|
||||
if [ $(pidof sysupgrade) ]; then
|
||||
echo "Sysupgrade script already running!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
echo_c() {
|
||||
|
|
Loading…
Reference in New Issue