ppp-asxeto

I.Ioannou roryt at hol.gr
Tue Apr 14 07:13:15 EEST 1998


On 13-Apr-98 Valotasios George wrote:
> Loipon gia to parapanw ... TI EKANA ?
> 
> Eftiaksa ena script PPPON mesa sto /bin
> 
> Ekei tou evala
>#-------------------------PPPON SCRIPT-----------------------
> echo "YES" > /var/run/ppp-StayAlive

Signomh alla den yparxei poio eykolos tropos na ksereis an einai 
alive h syndesh ? Gia rikse mia matia mesa sto ppp-off :

#!/bin/sh
######################################################################
#
# Determine the device to be terminated.
#
if [ "$1" = "" ]; then
        DEVICE=ppp0
else
        DEVICE=$1
fi

######################################################################
#
# If the ppp0 pid file is present then the program is running. Stop it.
if [ -r /var/run/$DEVICE.pid ]; then

I.Ioannou <roryt at hol.gr>
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list