[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Sobre WWWoffle



Hola a tod@s
Vereis, tengo instalado wwwoffle, y cada vez que conecto a internet, tengo 
que ejecutar "/etc/init.d/wwwoffle restart" para poder acceder a cualquier 
página.
/etc/ppp/ip-up.d/1wwwoffle es :

#!/bin/sh -e
PATH=/bin:/sbin:/usr/bin:/usr/sbin

# If ppp option is not there, don't do anything here.
if grep -qsx ppp /etc/wwwoffle/wwwoffle.options; then
    :
else
    exit 0
fi

# check for default route over this interface; if the default route
# has nothing to do with this interface, don't modify wwwoffle's
# status.

DEFROUTEIF=`route -n | grep '^0\.0\.0\.0 ' | awk '{print $8}'`
# maybe we should use /proc/net/route directly
if [ "x$DEFROUTEIF" != "x$PPP_IFACE" ]; then
        exit 0
fi

# See /usr/share/doc/wwwoffle/README.Debian for reasons not to
# restart wwwoffle here.

# put wwwoffle in online mode
/usr/bin/wwwoffle -c /etc/wwwoffle/wwwoffle.conf -online

# optionally fetch marked pages
if grep -qsx fetch /etc/wwwoffle/wwwoffle.options; then
  /usr/bin/wwwoffle -c /etc/wwwoffle/wwwoffle.conf -fetch &
fi
pero no parece que funcione,

Alguien ve cual puede ser el error?




-- 
To UNSUBSCRIBE, email to debian-user-spanish-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: