[Lunar-commits] r23667 - lunar-tools/trunk/lnet
Auke Kok
sofar at lunar-linux.org
Fri Mar 16 18:42:13 CET 2007
Author: sofar
Date: 2007-03-16 18:42:13 +0100 (Fri, 16 Mar 2007)
New Revision: 23667
Modified:
lunar-tools/trunk/lnet/lnet
Log:
By default, set DHCP_OPTIONS to pass -h `hostname` since that's what all the cool kids do ;)
Modified: lunar-tools/trunk/lnet/lnet
===================================================================
--- lunar-tools/trunk/lnet/lnet 2007-03-16 17:39:21 UTC (rev 23666)
+++ lunar-tools/trunk/lnet/lnet 2007-03-16 17:42:13 UTC (rev 23667)
@@ -351,7 +351,7 @@
echo "C"
echo "Dhcp client [${DHCP_CLIENT:-dhcpcd}]"
echo "O"
- echo "Dhcp options [${DHCP_OPTIONS:-}]"
+ echo "Dhcp options [${DHCP_OPTIONS:--h \`hostname\`}]"
fi
if !echo ${ADDRESS:-dhcp} | grep -qi dhcp ; then
echo "I"
@@ -431,7 +431,7 @@
fi ;;
esac
;;
- O) DHCP_OPTIONS=`inputbox "Enter extra options passed to $DHCP_CLIENT" "$DHCP_OPTIONS"`
+ O) DHCP_OPTIONS=`inputbox "Enter extra options passed to $DHCP_CLIENT" "${DHCP_OPTIONS:--h \`hostname\`}"`
;;
I) ADDRESS=`inputbox "Enter IP address" "$ADDRESS"`
;;
More information about the Lunar-commits
mailing list