diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-04 23:03:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-04 23:03:43 +0000 |
commit | 6a2b5f1cda4e71f35e2326818e43153e5f4fed51 (patch) | |
tree | c4934d211fc223061bcae36df38ff5b6d9ae8ddb /etc/rc.firmware | |
parent | 5ce93f0b150e9a2b121342ab59b0230288c2b803 (diff) | |
download | pfsense-6a2b5f1cda4e71f35e2326818e43153e5f4fed51.zip pfsense-6a2b5f1cda4e71f35e2326818e43153e5f4fed51.tar.gz |
Ensure proper /etc/hosts symlink after upgrade
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-x | etc/rc.firmware | 4 |
1 files changed, 4 insertions, 0 deletions
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 |