mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
file test before remove
This commit is contained in:
parent
6e284ee493
commit
18cd3c8d1b
1 changed files with 3 additions and 1 deletions
|
@ -38,6 +38,8 @@ if [ "$WARN" = "1" ]; then
|
||||||
#echo "rebooting..."
|
#echo "rebooting..."
|
||||||
#reboot
|
#reboot
|
||||||
else
|
else
|
||||||
rm /.fw_replaced
|
if [ -f /.fw_replaced ]; then
|
||||||
|
rm /.fw_replaced
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue