init scripts: Avoid error messages during cleaning up tmp directory
This commit is contained in:
parent
183b43db48
commit
e4fc86ce73
|
@ -15,6 +15,7 @@ CHANGELOG
|
||||||
* [Fix] [OpenWrt] extendRoot: Patch broken handling of PKG_ROOT in /lib/functions.sh
|
* [Fix] [OpenWrt] extendRoot: Patch broken handling of PKG_ROOT in /lib/functions.sh
|
||||||
* [Fix] [OpenWrt] package dependencies: Fix dependency recursive issues
|
* [Fix] [OpenWrt] package dependencies: Fix dependency recursive issues
|
||||||
* [Fix] [RPi] Enable cronie for startup, which was missing
|
* [Fix] [RPi] Enable cronie for startup, which was missing
|
||||||
|
* [Fix] Removed unecessary error messages from cleaning up tmp folder
|
||||||
* [Changed] [OpenWrt] box-installer: grab new tmp logfile , var/log/messages was removed
|
* [Changed] [OpenWrt] box-installer: grab new tmp logfile , var/log/messages was removed
|
||||||
* [Changed] [OpenWrt] box-installer: run opkg without signature file, like imagebuilder does
|
* [Changed] [OpenWrt] box-installer: run opkg without signature file, like imagebuilder does
|
||||||
* [Changed] [OpenWrt] box-installer: Add a better trigger for extendRoot (delayed)
|
* [Changed] [OpenWrt] box-installer: Add a better trigger for extendRoot (delayed)
|
||||||
|
|
|
@ -91,7 +91,7 @@ case "$1" in
|
||||||
$PIRATEBOX/bin/hooks/hook_piratebox_start.sh "$CONF"
|
$PIRATEBOX/bin/hooks/hook_piratebox_start.sh "$CONF"
|
||||||
|
|
||||||
echo "Empty tmp folder"
|
echo "Empty tmp folder"
|
||||||
find $PIRATEBOX/tmp/ -exec rm {} \;
|
find $PIRATEBOX/tmp/ -mindepth 1 -exec rm {} \;
|
||||||
|
|
||||||
# Captive Portal Housekeeping file in /tmp (ram)
|
# Captive Portal Housekeeping file in /tmp (ram)
|
||||||
"$PIRATEBOX/bin/captive_notify_lease.sh" refresh
|
"$PIRATEBOX/bin/captive_notify_lease.sh" refresh
|
||||||
|
|
|
@ -84,7 +84,7 @@ case "$1" in
|
||||||
$PIRATEBOX/bin/hooks/hook_piratebox_start.sh "$CONF"
|
$PIRATEBOX/bin/hooks/hook_piratebox_start.sh "$CONF"
|
||||||
|
|
||||||
echo "Empty tmp folder"
|
echo "Empty tmp folder"
|
||||||
find $PIRATEBOX/tmp/ -exec rm {} \;
|
find $PIRATEBOX/tmp/ -mindepth 1 -exec rm {} \;
|
||||||
|
|
||||||
# Captive Portal Housekeeping file in /tmp (ram)
|
# Captive Portal Housekeeping file in /tmp (ram)
|
||||||
"$PIRATEBOX/bin/captive_notify_lease.sh" refresh
|
"$PIRATEBOX/bin/captive_notify_lease.sh" refresh
|
||||||
|
|
Loading…
Reference in New Issue