Skip to content

Commit

Permalink
pupdial: Ensure node /dev/ppp exists, for ppp daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
rserwin1 committed Aug 9, 2018
1 parent fcee194 commit 8cc4f7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions woof-code/rootfs-packages/pupdial/usr/local/pupdial/pupdial
Expand Up @@ -38,6 +38,7 @@
#131214 zigbert: gui (gtkdialog) improvements.
#180720 rerwin: Make 130505 conditional.
#180727 v2.0 rerwin: Wait until modemprobe & modemtest finish before restarting; prevent multiple instances of pupdial; refine Xdialog & splash messages;background modemprobe, to close pupdial window.
#180808 Ensure /dev/ppp node exists, for pppd, used by wvdial.

[ "`whoami`" != "root" ] && exec sudo -A ${0} ${@} #110505

Expand Down Expand Up @@ -845,6 +846,7 @@ if [ "$EXIT" = "CONNECT1" -o "$EXIT" = "CONNECT2" ];then
echo "$ISPSTRING" | sed 's/.*,//g' | grep -q '^[0-9\.\-]*$' \
&& touch /tmp/.network_tray-use_analog_dialup_icons #130505
fi
[ -e /dev/ppp ] || mknod /dev/ppp c 108 0 #180808
wvdial ${WVISP} ${WVPIN} ${WVAPN} ${WVWRLS} &> /tmp/pupdial.log & #v413
[ ! -f /tmp/pupdial.log ] && sleep 1
[ ! -f /tmp/pupdial.log ] && sleep 1
Expand Down

0 comments on commit 8cc4f7e

Please sign in to comment.