diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main.rs b/src/main.rs index be31983..9158961 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,20 +44,6 @@ fn main() -> Result<()> { fs::write("/proc/sys/net/ipv6/conf/all/forwarding", "1")?; println!("enable ipv6 routing"); - println!("wait for eth1"); - link::wait_exists("eth1".into())?; - println!("detect eth1"); - - link::up("eth1".into())?; - - match enable_modem_access() { - Ok(_) => println!("configure eth1 modem (192.168.1.2/24)"), - Err(e) => { - println!("can't configure eth1 modem: {}", e); - return Err(e); - } - } - let ip_config = Path::new(rsdsl_ip_config::LOCATION); while !ip_config.exists() { println!("wait for pppoe"); |