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