diff options
author | Dirk von Suchodoletz | 2006-01-18 13:22:01 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-01-18 13:22:01 +0100 |
commit | 96e5310fb00aeee57cb381f01aa18dafb04e4272 (patch) | |
tree | 18d3aa3ead25d79fea4b7042fc8fab052f34af20 /initrd/initrd-stuff/etc/functions | |
parent | gdm Konfiguration klappt nun. Kommentare angefuegt ... (diff) | |
download | core-96e5310fb00aeee57cb381f01aa18dafb04e4272.tar.gz core-96e5310fb00aeee57cb381f01aa18dafb04e4272.tar.xz core-96e5310fb00aeee57cb381f01aa18dafb04e4272.zip |
Hässlichen Bug bei dhclient IP Konfig. beseitig. Etliche Services
hinzugefügt. SuSE Funktionen (functions-suse...) erweitert.
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@18 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/etc/functions')
-rw-r--r-- | initrd/initrd-stuff/etc/functions | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/initrd/initrd-stuff/etc/functions b/initrd/initrd-stuff/etc/functions index 23376161..6eca05c1 100644 --- a/initrd/initrd-stuff/etc/functions +++ b/initrd/initrd-stuff/etc/functions @@ -68,7 +68,6 @@ done case $ipcfg in ip) ip link set dev $if up - echo "test" ip addr add $ip/`nm2pref $nm` broadcast $bc dev $if if [ "$gw" != "0.0.0.0" ] ; then ip route add default via $gw @@ -169,6 +168,8 @@ if [ "$dhcp" = "none" ] ; then client could be found. Please check that you have some client from\n\ the following list installed: dhclient dhcpcd pump ipconfig." nonfatal else + # ensure the interface is up + ipsetup 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 eth0 & loadmod /lib/modules/@@@KERNVER@@@/kernel/net/packet/af_packet.ko \ "needed for dhcp"; echo "Starting $dhcp for configuration" |