summaryrefslogtreecommitdiffstats
path: root/sources/target_skeleton/etc/init.d/S50networking
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-26 11:45:55 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-26 11:45:55 +0000
commit08782ae7d8812933ad3f932132955ea1c0fb1e52 (patch)
tree1808993dc06e0c9a473c2e77236ce5d31039466d /sources/target_skeleton/etc/init.d/S50networking
parent057adc1c84e0082cdf88da23a32bf2098680ff4e (diff)
downloadbuildroot-novena-08782ae7d8812933ad3f932132955ea1c0fb1e52.tar.gz
buildroot-novena-08782ae7d8812933ad3f932132955ea1c0fb1e52.zip
Major rework
Diffstat (limited to 'sources/target_skeleton/etc/init.d/S50networking')
-rwxr-xr-xsources/target_skeleton/etc/init.d/S50networking7
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/target_skeleton/etc/init.d/S50networking b/sources/target_skeleton/etc/init.d/S50networking
new file mode 100755
index 000000000..7104f3321
--- /dev/null
+++ b/sources/target_skeleton/etc/init.d/S50networking
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# start lo all the time
+ifconfig lo 127.0.0.1 up
+route add -net 127.0.0.0 netmask 255.0.0.0 lo
+
+hostname dev.null