diff options
author | imp <imp@FreeBSD.org> | 2016-01-05 21:20:47 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2016-01-05 21:20:47 +0000 |
commit | ec77f0bef381d18a7cb6847d3e0f02c0f4087f05 (patch) | |
tree | c3ddb3f7d77c4f2eeba6bffeacf45b882dad7bc7 /etc/rc | |
parent | d6a76cd84f7f3a8435fb87174c48e46e576186c8 (diff) | |
download | FreeBSD-src-ec77f0bef381d18a7cb6847d3e0f02c0f4087f05.zip FreeBSD-src-ec77f0bef381d18a7cb6847d3e0f02c0f4087f05.tar.gz |
Use the more proper -f. Leave /bin/rm in place since that's what
other rc scripts have, though it isn't strictly necessary.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |