summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-18 04:38:38 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-18 04:38:38 +0000
commit095d04db30178b78feafdf6fee5e99f4ef137895 (patch)
tree36674efe18704c7e2679f0a7ccd732d2d160514e /etc/rc
parentd77ddc0f48563a402e7dd352b591947a0a220aca (diff)
downloadpfsense-095d04db30178b78feafdf6fee5e99f4ef137895.zip
pfsense-095d04db30178b78feafdf6fee5e99f4ef137895.tar.gz
echo out platform on boot
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 5612729..f7b3471 100755
--- a/etc/rc
+++ b/etc/rc
@@ -28,7 +28,7 @@ if [ "$PLATFORM" = "cdrom" ]; then
fi
echo
-echo "Welcome to pfSense ${version} ..."
+echo "Welcome to pfSense ${version} ${PLATFORM} ..."
echo
/sbin/mount -a || fsck -y && mount -a
@@ -50,10 +50,12 @@ if [ ! -L /etc/hosts ]; then
rm -rf /etc/hosts
ln -s /var/etc/hosts /etc/hosts
fi
+
if [ ! -L /etc/resolv.conf ]; then
rm -rf /etc/resolv.conf
ln -s /var/etc/resolv.conf /etc/resolv.conf
fi
+
if [ ! -L /etc/dhclient.conf ]; then
rm -rf /etc/dhclient.conf
ln -s /var/etc/dhclient.conf /etc/dhclient.conf
OpenPOWER on IntegriCloud