version 1.504, 2017/06/22 16:03:36 |
version 1.505, 2017/06/27 03:42:00 |
|
|
|
|
rm -f /fastboot |
rm -f /fastboot |
|
|
# Set flags on ttys. (Do early, in case they use tty for SLIP in netstart.) |
# Set flags on ttys. |
echo 'setting tty flags' |
echo 'setting tty flags' |
ttyflags -a |
ttyflags -a |
|
|
|
|
# Set carp interlock by increasing the demotion counter. |
# Set carp interlock by increasing the demotion counter. |
# Prevents carp from preempting until the system is booted. |
# Prevents carp from preempting until the system is booted. |
ifconfig -g carp carpdemote 128 |
ifconfig -g carp carpdemote 128 |
|
|
# Recover resolv.conf in case dhclient died hard. |
|
if [[ -f /etc/resolv.conf.save ]]; then |
|
mv -f /etc/resolv.conf.save /etc/resolv.conf |
|
touch /etc/resolv.conf |
|
fi |
|
|
|
sh /etc/netstart |
sh /etc/netstart |
|
|