> /etc/rc.d/rc.local
aqui eu utilizei o /etc/rc.d/rc.inet2 (acredito ser mais indicado).
acrescentei o seguinte:
if [ -x /etc/rc.d/rc.adsl ]; then
/etc/rc.d/rc.adsl start
fi
onde /etc/rc.d/rc.adsl cont�m o seguinte (seguindo os padr�es do slack):
[EMAIL PROTECTED]:~# cat /etc/rc.d/rc.adsl
#!/bin/sh
# /etc/rc.d/rc.adsl: start/stop ADSL connection
#
# Author: Herbert Alexander Faleiros <[EMAIL PROTECTED]>
#
adsl_start() {
/usr/sbin/adsl-start
}
adsl_stop() {
/usr/sbin/adsl-stop
}
adsl_restart() {
adsl_stop
sleep 1
adsl_start
}
case "$1" in
'start')
echo "Starting ADSL connection."
adsl_start 1>/dev/null
;;
'stop')
echo "Stoping ADSL connection."
adsl_stop 1>/dev/null
;;
'restart')
echo "Restarting ADSL connection."
adsl_restart
;;
*)
echo "usage $0 start|stop|restart"
esac
ah, certifique-se tb que seu /etc/rc.d/rc.6 cont�m:
# Try to shut down pppd:
if echo "$(ps ax)" | grep -q -w pppd ; then
if [ -x /usr/sbin/ppp-off ]; then
/usr/sbin/ppp-off
fi
fi
--
GUS-BR - Grupo de Usuarios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users