Merge pull request #274 from cronyx/master

dont run 2 copies sysupgrade script
pull/275/head
Igor Zalatov 2022-07-22 18:19:03 +03:00 committed by GitHub
commit f749e80de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -1,8 +1,13 @@
#!/bin/sh #!/bin/sh
# #
# OpenIPC.org | v.20220222 # OpenIPC.org | v.20220722
# #
if [ $(pidof sysupgrade) ]; then
echo "Sysupgrade script already running!"
exit 1
fi
set -e set -e
echo_c() { echo_c() {