Use the more proper -f. Leave /bin/rm in place since that's what
other rc scripts have, though it isn't strictly necessary.
This commit is contained in:
parent
11cf751df2
commit
71b902050d
4
etc/rc
4
etc/rc
@ -132,9 +132,9 @@ done
|
||||
# Remove the firstboot sentinel, and reboot if it was requested.
|
||||
if [ -e ${firstboot_sentinel} ]; then
|
||||
[ ${root_rw_mount} = "yes" ] || mount -uw /
|
||||
/bin/rm ${firstboot_sentinel}
|
||||
/bin/rm -f ${firstboot_sentinel}
|
||||
if [ -e ${firstboot_sentinel}-reboot ]; then
|
||||
/bin/rm ${firstboot_sentinel}-reboot
|
||||
/bin/rm -f ${firstboot_sentinel}-reboot
|
||||
[ ${root_rw_mount} = "yes" ] || mount -ur /
|
||||
kill -INT 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user