add a sync to make it less likely to boot with /etc pointing to nothing after
a crash.
This commit is contained in:
parent
4ce8a86674
commit
191ca062bf
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# $NetBSD: bootconf.sh,v 1.14 2010/11/01 14:42:08 christos Exp $
|
# $NetBSD: bootconf.sh,v 1.15 2012/12/31 23:21:27 christos Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
# PROVIDE: bootconf
|
# PROVIDE: bootconf
|
||||||
|
@ -74,6 +74,7 @@ bootconf_start()
|
||||||
*)
|
*)
|
||||||
rm -f /etc/etc.current
|
rm -f /etc/etc.current
|
||||||
ln -s etc.$conf /etc/etc.current
|
ln -s etc.$conf /etc/etc.current
|
||||||
|
sync
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue