firmware: small issue with lost init of pipe #4500

This commit is contained in:
Franco Fichtner 2021-03-08 19:11:22 +01:00 committed by Ad Schellevis
parent 0d94d0aefb
commit 70059dc6b5
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}