Permalink
Browse files

Setup the network using NetworkManager

  • Loading branch information...
1 parent 736824e commit 19e44803f4b14d591011ed01730c3ce55e6f9453 @jcdubacq committed Mar 6, 2013
Showing with 7 additions and 0 deletions.
  1. +1 −0 lib/network/README
  2. +3 −0 lib/network/network.revert
  3. +3 −0 lib/network/network.run
View
@@ -0,0 +1 @@
+Setup the network using Network Manager
@@ -0,0 +1,3 @@
+#!/bin/sh
+perl -pi -e 's/^#NetworkManager#//g' /etc/network/interfaces
+# do not relaunch instantly the network, could break existing connections
View
@@ -0,0 +1,3 @@
+#!/bin/sh
+perl -pi -e 's/^/#NetworkManager#/g if (/eth0/)' /etc/network/interfaces
+# do not relaunch instantly the network, could break existing connections

0 comments on commit 19e4480

Please sign in to comment.