firmware: small issue with lost init of pipe #4500

This commit is contained in:
Franco Fichtner 2021-03-08 19:11:22 +01:00
parent 9e2a6f7cc6
commit c08a4fb9fd
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@ PIPEFILE="/tmp/pkg_upgrade.pipe"
TEE="/usr/bin/tee -a"
: > ${LOCKFILE}
rm -f ${PIPEFILE}
mkfifo ${PIPEFILE}
echo "***GOT REQUEST TO UPDATE***" >> ${LOCKFILE}

View File

@ -30,6 +30,8 @@ PIPEFILE="/tmp/pkg_upgrade.pipe"
TEE="/usr/bin/tee -a"
: > ${LOCKFILE}
rm -f ${PIPEFILE}
mkfifo ${PIPEFILE}
echo "***GOT REQUEST TO UPGRADE***" >> ${LOCKFILE}