diff options
Diffstat (limited to 'etc/rc.diskless1')
-rw-r--r-- | etc/rc.diskless1 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/rc.diskless1 b/etc/rc.diskless1 index 5ce555f..0f80c43 100644 --- a/etc/rc.diskless1 +++ b/etc/rc.diskless1 @@ -57,9 +57,9 @@ chkerr $? "mount of /usr" # bootp_ifc=`route -n get default | fgrep interface | awk '{ print $2; }'` -bootp_ipa=`ifconfig $bootp_ifc | fgrep inet | head -1 | awk '{ print $2; }'` +bootp_ipa=`ifconfig ${bootp_ifc} | fgrep inet | head -1 | awk '{ print $2; }'` -echo "Interface $bootp_ifc IP-Address $bootp_ipa" +echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa}" umount /usr @@ -97,4 +97,3 @@ sysctl -w kern.bootfile=/conf/ME/kernel # system /etc/rc.diskless2 diskless_mount="/etc/rc.diskless2" - |