--- /etc/init.d/net.ppp0 2003-12-09 12:35:57.000000000 +0200 +++ /etc/init.d/net.ppp0 2003-12-09 12:39:51.000000000 +0200 @@ -168,13 +168,15 @@ # Setup the chat file if [ -n "${INITSTRING}" ] then - sed -e "9i\\'OK\' \'${INITSTRING}\'" \ - ${TEMPLATEDIR}/chat-default \ - >/etc/ppp/chat-${PEER} - fi if [ -n "${NUMBER}" ] then - sed -e "s:\$NUMBER:${NUMBER}:" \ + XTRASED="-e s:\$NUMBER:${NUMBER}:" + else + XTRASED="" + fi + + sed -e "9i\\'OK\' \'${INITSTRING}\'" \ + $XTRASED \ ${TEMPLATEDIR}/chat-default \ >/etc/ppp/chat-${PEER} fi --- /etc/conf.d/net.ppp0 2003-12-09 12:24:36.000000000 +0200 +++ /etc/conf.d/net.ppp0 2003-12-09 12:24:25.000000000 +0200 @@ -20,7 +20,8 @@ # will work on something more secure later # on. 700 permission on /etc/init.d/net.ppp0 # should be enouth for now. -NUMBER="" # The telephone number of your ISP +NUMBER="" # The telephone number of your ISP: + # leave blank for leased-line operation. REMIP="196.2.153.131" # The ip of the remote box if it should be set NETMASK="" # Netmask IPADDR="196.2.153.149" # Our IP if we have a static one