smeserver-base/root/etc/e-smith/templates/var/service/wan/run.pppoe.conf/device

9 lines
270 B
Plaintext

{
my $device = $pppoe{PhysicalInterface} || "eth1";
$OUT .= "/sbin/ifconfig $device up mtu 1500\n";
$OUT .= "/sbin/modprobe ppp_generic\n";
$OUT .= "/sbin/modprobe ppp_async\n";
$OUT .= "/sbin/modprobe ppp_synctty\n";
$OUT .= "DEVICE=$device";
}