Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 33290 | Differences between
and this patch

Collapse All | Expand All

(-)/etc/init.d/net.ppp0 (-5 / +7 lines)
Lines 168-180 Link Here
168
		# Setup the chat file
168
		# Setup the chat file
169
		if [ -n "${INITSTRING}" ]
169
		if [ -n "${INITSTRING}" ]
170
		then
170
		then
171
			sed -e "9i\\'OK\' \'${INITSTRING}\'" \
172
				${TEMPLATEDIR}/chat-default \
173
				>/etc/ppp/chat-${PEER}
174
		fi
175
		if [ -n "${NUMBER}" ]
171
		if [ -n "${NUMBER}" ]
176
		then
172
		then
177
			sed -e "s:\$NUMBER:${NUMBER}:" \
173
				XTRASED="-e s:\$NUMBER:${NUMBER}:"
174
			else
175
				XTRASED=""
176
			fi
177
178
			sed -e "9i\\'OK\' \'${INITSTRING}\'" \
179
				$XTRASED \
178
				${TEMPLATEDIR}/chat-default \
180
				${TEMPLATEDIR}/chat-default \
179
				>/etc/ppp/chat-${PEER}
181
				>/etc/ppp/chat-${PEER}
180
		fi
182
		fi
(-)/etc/conf.d/net.ppp0 (-1 / +2 lines)
Lines 20-26 Link Here
20
                                # will work on something more secure later
20
                                # will work on something more secure later
21
                                # on.  700 permission on /etc/init.d/net.ppp0
21
                                # on.  700 permission on /etc/init.d/net.ppp0
22
                                # should be enouth for now.
22
                                # should be enouth for now.
23
NUMBER=""			# The telephone number of your ISP
23
NUMBER=""			# The telephone number of your ISP:
24
				# leave blank for leased-line operation.
24
REMIP="196.2.153.131"		# The ip of the remote box if it should be set
25
REMIP="196.2.153.131"		# The ip of the remote box if it should be set
25
NETMASK=""                      # Netmask
26
NETMASK=""                      # Netmask
26
IPADDR="196.2.153.149"		# Our IP if we have a static one
27
IPADDR="196.2.153.149"		# Our IP if we have a static one

Return to bug 33290