diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-07 00:19:13 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-07 00:19:13 +0000 |
commit | c8fcdb2fe21ab04d530d7657e769886019beb227 (patch) | |
tree | 44bb428ef2f7edc6b94d97fa731f73753db2f4be | |
parent | e1a8dc99995e2ad9ffd1fc99f24ac9ed09a55b59 (diff) | |
download | pfsense-c8fcdb2fe21ab04d530d7657e769886019beb227.zip pfsense-c8fcdb2fe21ab04d530d7657e769886019beb227.tar.gz |
If /etc/hosts is a file restore the symlink
-rwxr-xr-x | etc/rc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -31,6 +31,11 @@ SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1` /usr/local/bin/php -f /etc/rc.conf_mount_rw +if [ -f /etc/hosts ]; then + rm /etc/hosts + ln -s /var/etc/hosts /etc/hosts +fi + /etc/rc.d/initrandom start >/dev/null /etc/rc.d/random start >/dev/null |