2 erothshs

Haris Kosmidis hkosmidi at alexandros.csd.auth.gr
Sun Mar 2 15:03:42 EET 1997


On Sun, 2 Mar 1997, Alexios Chouchoulas wrote:

>   Skefthkes na xrhsimopoihseis to /etc/ppp/ip-down; Einai ena script pou
> ekteleitai otan o pppd egkataleipei ton mataio touto kosmo. Na to diko mou:
>
> #!/bin/sh
> # ip-down: the command executed by pppd when IP goes down.
> # Parameters:
> #     $1 = network interface used (e.g. ppp0)
> #     $2 = pathname of serial device file (e.g. /dev/modem)
> #     $3 = device speed (e.g. 38400)
> #     $4 = local address (e.g. 158.152.14.94)
> #     $5 = remote address (e.g. 158.152.1.65)
>
> #/bin/killall pppstats
>
> #/etc/ppp/getstats down &
>
> (oxi kai poly xrhsimo, alla sou dinei mia genikh idea).
>
Ego sto /etc/ppp exo ta :
space:/etc/ppp# l
total 4
drwxr-xr-x   2 root     root         1024 Feb 20 20:02 ./
drwxr-xr-x   8 root     root         2048 Mar  2 02:08 ../
- -rw-r--r--   1 root     root            0 Jul  9  1994 options
- -rwx------   1 root     root          403 Feb 20 20:02 ppp-on-dialer*
space:/etc/ppp#

mono :(

Harris

==================================================================
For help on using this list (linux-greek-users), send a message to
"majordomo at argeas.argos.hol.gr" with one line of text: "help".
For any problem send e-mail to owner-linux-greek-users
==================================================================



More information about the Linux-greek-users mailing list