diff options
Diffstat (limited to 'rootfs/etc')
-rw-r--r-- | rootfs/etc/httpd.conf | 2 | ||||
-rwxr-xr-x | rootfs/etc/ifplugd/ifplugd.action | 4 | ||||
-rw-r--r-- | rootfs/etc/network/interfaces | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/rootfs/etc/httpd.conf b/rootfs/etc/httpd.conf new file mode 100644 index 0000000..2881728 --- /dev/null +++ b/rootfs/etc/httpd.conf @@ -0,0 +1,2 @@ +H:/srv/http +I:index.html diff --git a/rootfs/etc/ifplugd/ifplugd.action b/rootfs/etc/ifplugd/ifplugd.action index 05db65d..e5b35ec 100755 --- a/rootfs/etc/ifplugd/ifplugd.action +++ b/rootfs/etc/ifplugd/ifplugd.action @@ -5,5 +5,5 @@ NEW_STATE="$2" test -n "$INTERFACE" test -n "$NEW_STATE" -[ "$NEW_STATE" = "up" ] && exec ifup "$INTERFACE" -[ "$NEW_STATE" = "down" ] && exec ifdown "$INTERFACE" +exec ip link set "$INTERFACE" "$NEW_STATE" + diff --git a/rootfs/etc/network/interfaces b/rootfs/etc/network/interfaces index 6da47b0..5307bb0 100644 --- a/rootfs/etc/network/interfaces +++ b/rootfs/etc/network/interfaces @@ -2,3 +2,5 @@ auto eth0 iface eth0 inet dhcp +auto lo +iface lo inet loopback |