Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel
English
SuSE Linux: Version 4.3
/sbin/init.d/network
wird beim Booten eine Meldung erzeugt:
ipppd: No Devices Found
oder isdn0: No Devices Found
/sbin/init.d/i4l
konfiguriert.
/sbin/init.d/network
sollte sein:
#! /bin/sh # Copyright (c) 1996 SuSE GmbH Fuerth, Germany. All rights reserved. # # Author: Florian La Roche, 1996 # Werner Fink , 1996 # Burchard Steinbild , 1996 # # /sbin/init.d/network # . /etc/rc.config case "$1" in start) if test -n "$NETCONFIG" -a "$NETCONFIG" != "YAST_ASK" ; then # this is a hack - will be done better in futuer releases. if test -n "$SETUPDUMMYDEV" -a "$SETUPDUMMYDEV" = "yes" ; then test -n "$IPADDR_0" && ifconfig dummy0 $IPADDR_0 && \ route add $IPADDR_0 dev dummy0 fi for I in $NETCONFIG; do eval NETDEV=\$NETDEV$I eval IFCONFIG=\$IFCONFIG$I eval NETWORK=\$NETWORK$I eval GATEWAY=\$GATEWAY$I case $NETDEV in ippp*) ;; isdn*) ;; *) echo "Setting up network device $NETDEV." ifconfig $NETDEV $IFCONFIG if test -n "$NETWORK"; then route add $NETWORK dev $NETDEV if test -n "$GATEWAY"; then route add default gw $GATEWAY metric 1 dev $NETDEV fi fi ;; esac done fi mount -at nfs # generate new list of available shared libraries ldconfig -X 2>/dev/null ;; stop) umount -at nfs if test -n "$NETCONFIG" -a "$NETCONFIG" != "YAST_ASK" ; then for I in $NETCONFIG; do eval NETDEV=\$NETDEV$I case $NETDEV in ippp*) ;; isdn*) ;; *) echo "Shutting down network device $NETDEV." ifconfig $NETDEV down ;; esac done # this is a hack - will be done better in futuer releases. if test -n "$SETUPDUMMYDEV" -a "$SETUPDUMMYDEV" = "yes" ; then test -n "$IPADDR_0" && ifconfig dummy0 down fi fi ;; *) echo "Usage: $0 {start|stop}" exit 1 esac exit 0
Stichwörter:
Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel
English