# HG changeset patch # User Pascal Bellard # Date 1214252953 0 # Node ID 40e8869e8ea64069445dafcfeb71d756a1a9416d # Parent 939d1e5cfa3d01efcd864506b750345802e1ca6d netbox: add ppp diff -r 939d1e5cfa3d -r 40e8869e8ea6 tinyutils/netbox --- a/tinyutils/netbox Mon Jun 23 16:54:39 2008 +0000 +++ b/tinyutils/netbox Mon Jun 23 20:29:13 2008 +0000 @@ -203,7 +203,7 @@ - "Password :" - USER + PASS @@ -297,6 +297,62 @@ + + + + + + + USER=$(grep -s ^ACCOUNT= /etc/ppp/scripts/ppp-on | cut -f1); echo "${USER#*=}" + USER + + + + + + + + PASS=$(grep -s ^PASSWORD= /etc/ppp/scripts/ppp-on | cut -f1); echo "${PASS#*=}" + PASS + + + + + + + + PHONE=$(grep -s ^TELEPHONE= /etc/ppp/scripts/ppp-on | cut -f1); echo "${PHONE#*=}" + PHONE + + + + + + + + +