From 8dad77bac4a027ede5ea95400dbf5c8131bbf635 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 3 Jun 2010 08:36:50 +0300 Subject: [PATCH] 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 Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- target/device/Atmel/root/target_busybox_skeleton/etc/inittab | 2 -- target/device/Atmel/root/target_skeleton/etc/inittab | 2 -- target/device/xtensa/skeleton-patch/etc/inittab | 2 -- target/generic/target_busybox_skeleton/etc/inittab | 2 -- target/generic/target_skeleton/etc/inittab | 2 -- 5 files changed, 10 deletions(-) diff --git a/target/device/Atmel/root/target_busybox_skeleton/etc/inittab b/target/device/Atmel/root/target_busybox_skeleton/etc/inittab index bb183059f7..b394548b56 100644 --- a/target/device/Atmel/root/target_busybox_skeleton/etc/inittab +++ b/target/device/Atmel/root/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/device/Atmel/root/target_skeleton/etc/inittab b/target/device/Atmel/root/target_skeleton/etc/inittab index 69e4df18ed..2e3b9a44a6 100644 --- a/target/device/Atmel/root/target_skeleton/etc/inittab +++ b/target/device/Atmel/root/target_skeleton/etc/inittab @@ -18,8 +18,6 @@ null::sysinit:/bin/mount -o remount,rw / null::sysinit:/bin/mount -t proc proc /proc 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 diff --git a/target/device/xtensa/skeleton-patch/etc/inittab b/target/device/xtensa/skeleton-patch/etc/inittab index b336ff69c5..de3ce706ef 100644 --- a/target/device/xtensa/skeleton-patch/etc/inittab +++ b/target/device/xtensa/skeleton-patch/etc/inittab @@ -18,8 +18,6 @@ null::sysinit:/bin/mount -t proc proc /proc null::sysinit:/bin/mount -o remount,rw / 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 diff --git a/target/generic/target_busybox_skeleton/etc/inittab b/target/generic/target_busybox_skeleton/etc/inittab index 7c7bf7a5a1..bd3912b24c 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 2949c91252..4be14b8297 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 -- 2.30.2