From 6a2b5f1cda4e71f35e2326818e43153e5f4fed51 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 4 May 2005 23:03:43 +0000 Subject: Ensure proper /etc/hosts symlink after upgrade --- etc/rc.firmware | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc/rc.firmware') diff --git a/etc/rc.firmware b/etc/rc.firmware index 42bed9b..5a17ac6 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -150,6 +150,10 @@ pfSenseupgrade) # restore config cp -p /tmp/configbak/* /conf + # restore /etc symlinks + rm /etc/hosts + ln -s /var/etc/hosts /etc/hosts + restore_chflags # remount /cf ro -- cgit v1.1