]>
git.ipfire.org Git - ipfire-2.x.git/blob - src/ppp/ip-up
7 eval $
(/usr
/local
/bin
/readhash
/var
/ipfire
/ppp
/settings
)
9 if [ "$DNS" == "Automatic" ]; then
10 if [ "$TYPE" == "isdn" ]; then
11 echo -n "$MS_DNS1" > /var
/ipfire
/red
/dns1
12 echo -n "$MS_DNS2" > /var
/ipfire
/red
/dns2
14 echo -n "$PRIMARY_DNS" > /var
/ipfire
/red
/dns1
15 echo -n "$SECONDARY_DNS" > /var
/ipfire
/red
/dns2
18 echo -n "$DNS1" > /var
/ipfire
/red
/dns1
19 echo -n "$DNS2" > /var
/ipfire
/red
/dns2
22 echo -n "$1" > /var
/ipfire
/red
/iface
23 echo -n "$4" > /var
/ipfire
/red
/local-ipaddress
24 echo -n "$5" > /var
/ipfire
/red
/remote-ipaddress
26 touch /var
/ipfire
/red
/active
28 run_subdir
${rc_base}/init.d
/networking
/red.up
/
30 [ -e "/var/ipfire/ppp/nobeeps" ] ||
/etc
/rc.d
/init.d
/beep up