slitaz-tools rev 218 2.5
netbox/ppp: add help
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 23 20:51:45 2008 +0000 (2008-06-23) |
parents | 40e8869e8ea6 |
children | 034b656cd661 |
files | tinyutils/netbox |
line diff
1.1 --- a/tinyutils/netbox Mon Jun 23 20:29:13 2008 +0000 1.2 +++ b/tinyutils/netbox Mon Jun 23 20:51:45 2008 +0000 1.3 @@ -270,6 +270,11 @@ 1.4 </hbox> 1.5 <hbox> 1.6 <button> 1.7 + <input file icon="help"></input> 1.8 + <label>Help</label> 1.9 + <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 80x30 -title "pppd help (q to quit)" -e "pppd --help 2>&1 | less"</action> 1.10 + </button> 1.11 + <button> 1.12 <input file icon="accessories-text-editor"></input> 1.13 <label>Tune</label> 1.14 <action>[ -n "$NAME" ] && sed -i "s/^name .*/name $NAME/" /etc/ppp/options</action> 1.15 @@ -327,11 +332,16 @@ 1.16 </hbox> 1.17 <hbox> 1.18 <button> 1.19 + <input file icon="help"></input> 1.20 + <label>Help</label> 1.21 + <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 80x30 -title "pppd help (q to quit)" -e "pppd --help 2>&1 | less"</action> 1.22 + </button> 1.23 + <button> 1.24 <input file icon="accessories-text-editor"></input> 1.25 <label>Tune</label> 1.26 - <action>[ -n "$NAME" ] && sed -i "s/^ACCOUNT=.* /ACCOUNT=$NAME /" /etc/ppp/scripts/ppp-on</action> 1.27 - <action>[ -n "$PASS" ] && sed -i "s/^PASSWORD=.* /PASSWORD=$PASS /" /etc/ppp/scripts/ppp-on</action> 1.28 - <action>[ -n "$PHONE" ] && sed -i "s/^TELEPHONE=.* /TELEPHONE=$PHONE /" /etc/ppp/scripts/ppp-on</action> 1.29 + <action>[ -n "$NAME" ] && sed -i "s/^ACCOUNT=.*/ACCOUNT=$NAME/" /etc/ppp/scripts/ppp-on</action> 1.30 + <action>[ -n "$PASS" ] && sed -i "s/^PASSWORD=.*/PASSWORD=$PASS/" /etc/ppp/scripts/ppp-on</action> 1.31 + <action>[ -n "$PHONE" ] && sed -i "s/^TELEPHONE=.*/TELEPHONE=$PHONE/" /etc/ppp/scripts/ppp-on</action> 1.32 <action type="lauch">leafpad /etc/ppp/scripts/ppp-on</action> 1.33 </button> 1.34 <button>