On Tue, 22 Jun 2004 16:24:57 +0200
Klaus Becker <[EMAIL PROTECTED]> wrote:

> Hallo,
> 
> ich habe eine permanente Adsl DHCP-Internetverbindung.
> Wie kann ich die Verbindung bei Bedarf kappen und wieder neu starten?
> 
> /etc/init.d/networking stop + ...restart geht, ist aber sehr
> umständlich. Gibt's eine einfachere Methode?
> 
> tschüs
> Klaus

#!/bin/sh
exec /etc/init.d/networking stop;
/etc/init.d/networking start;

simples shellscript schreiben :)

MfG
Ronald Becher aka Warui

-- 
Hi! I'm a .signature virus. Copy me into
your ~/.signature to help me spread!

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/L/MU/SS/TW/CM d->+ s-:- a19 C++(+++) UL++>++++ P+>++ L+++>++++ E-
W+++>$ N++ o? K? w+@ O? M? V? PS@ PE@ Y? PGP t- 5? X@ R(+) !tv
b+++(++++) DI? D+ G+>++ e h+>++ r% y+(*)
------END GEEK CODE BLOCK------

Antwort per Email an