summaryrefslogtreecommitdiff
path: root/target/generic
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2010-06-03 08:36:50 +0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-09 13:38:58 +0200
commit8dad77bac4a027ede5ea95400dbf5c8131bbf635 (patch)
treed7d70bb617fc33a1b20299cece4df92366efe3f7 /target/generic
parent016eb67078952e6309d573d447b7df25cde0aa15 (diff)
skeleton: remove loopback interface configuration from inittab
The lo interface is marked auto in /etc/network/interfaces, so the configuration of the loopback network interface is part of the S40network init script. This causes the "RTNETLINK answers: File exists" error message to appear at startup time. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/generic')
-rw-r--r--target/generic/target_busybox_skeleton/etc/inittab2
-rw-r--r--target/generic/target_skeleton/etc/inittab2
2 files changed, 0 insertions, 4 deletions
diff --git a/target/generic/target_busybox_skeleton/etc/inittab b/target/generic/target_busybox_skeleton/etc/inittab
index 7c7bf7a5a..bd3912b24 100644
--- a/target/generic/target_busybox_skeleton/etc/inittab
+++ b/target/generic/target_busybox_skeleton/etc/inittab
@@ -24,8 +24,6 @@
::sysinit:/bin/mount -o remount,rw /
::sysinit:/bin/mount -a
::sysinit:/bin/hostname -F /etc/hostname
-::sysinit:/sbin/ifconfig lo 127.0.0.1 up
-::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
# now run any rc scripts
::sysinit:/etc/init.d/rcS
diff --git a/target/generic/target_skeleton/etc/inittab b/target/generic/target_skeleton/etc/inittab
index 2949c9125..4be14b829 100644
--- a/target/generic/target_skeleton/etc/inittab
+++ b/target/generic/target_skeleton/etc/inittab
@@ -19,8 +19,6 @@ null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mkdir -p /dev/pts
null::sysinit:/bin/mount -a
null::sysinit:/bin/hostname -F /etc/hostname
-null::sysinit:/sbin/ifconfig lo 127.0.0.1 up
-null::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
# now run any rc scripts
::sysinit:/etc/init.d/rcS