5 setup_interface_pptp
() {
9 config_get device
"$config" device
11 for module
in slhc ppp_generic ppp_async ip_gre
; do
12 /sbin
/insmod
$module 2>&- >&-
14 setup_interface
"$iface" "$config" "dhcp"
16 config_get mtu
"$cfg" mtu
17 config_get server
"$cfg" server
19 start_pppd
"$config" \
20 pty
"/usr/sbin/pptp $server --loglevel 0 --nolaunchpppd" \
21 file /etc
/ppp
/options.pptp \