Setup weiter ausgebaut.

Initrd des Installationssystems verkleinert.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@789 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-08-20 13:21:16 +00:00
parent d0f2cc4261
commit 0db33b5671
9 changed files with 48 additions and 42 deletions

View File

@@ -28,8 +28,8 @@ if [ "$TYPE" == "STATIC" ]; then
NETADDRESS="${RED_NETADDRESS}"
NETMASK="${RED_NETMASK}"
GATEWAY="${DEFAULT_GATEWAY}"
DNS1="${DNS1}"
DNS2="${DNS2}"
# DNS1
# DNS2
if [ -z "${BROADCAST}" ]; then
boot_mesg "BROADCAST variable missing from input, cannot continue." ${FAILURE}
@@ -77,6 +77,11 @@ case "${1}" in
boot_mesg "Adding IPv4 address ${ADDRESS} to the ${DEVICE} interface..."
ip addr add ${args} dev ${DEVICE}
evaluate_retval
echo -n "${DEVICE}" > /var/ipfire/red/iface
echo -n "${ADDRESS}" > /var/ipfire/red/local-ipaddress
echo -n "${GATEWAY}" > /var/ipfire/red/remote-ipaddress
echo -n "${DNS1}" > /var/ipfire/red/dns1
echo -n "${DNS2}" > /var/ipfire/red/dns2
elif [ "${TYPE}" == "DHCP" ]; then
boot_mesg -n "Starting dhcpcd on the ${DEVICE} interface..."