From 476b993379210c4e3a760564fc0614f1cb63b521 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Thu, 14 May 2009 10:20:53 +0000 Subject: make kernels use /etc/preinit by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15840 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/at91/image/u-boot/ubclient/ubpar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/at91/image/u-boot/ubclient/ubpar.c') diff --git a/target/linux/at91/image/u-boot/ubclient/ubpar.c b/target/linux/at91/image/u-boot/ubclient/ubpar.c index 7e8ea0eb2d..edc5b2cdbd 100644 --- a/target/linux/at91/image/u-boot/ubclient/ubpar.c +++ b/target/linux/at91/image/u-boot/ubclient/ubpar.c @@ -46,11 +46,11 @@ static char *environment[] = { "stdin=serial\0" "stdout=serial\0" "stderr=serial\0" - "fbargs=setenv bootargs root=/dev/mtdblock3 ro init=/etc/preinit console=/dev/ttyS0,115200,mem=32M\0" - "rdba=setenv bootargs root=/dev/ram rw initrd=0x21200000,6000000 ramdisk_size=20000 init=/etc/preinit console=/dev/ttyS0,115200,mem=32M\0" + "fbargs=setenv bootargs root=/dev/mtdblock3 ro console=/dev/ttyS0,115200,mem=32M\0" + "rdba=setenv bootargs root=/dev/ram rw initrd=0x21200000,6000000 ramdisk_size=20000 console=/dev/ttyS0,115200,mem=32M\0" "rdram=run rdba; tftp 21000000 uImage; tftp 21200000 root.squashfs; bootm 21000000\0" "flash=run fbargs; bootm 0xc0042000\0" - "bootargs=setenv bootargs root=/dev/mtdblock3 ro init=/etc/preinit console=/dev/ttyS0,115200,mem=32M\0" + "bootargs=setenv bootargs root=/dev/mtdblock3 ro console=/dev/ttyS0,115200,mem=32M\0" "bootcmd=bootm 0xc0042000\0" "ipaddr=" MK_STR(LAN_IP) "\0" "serverip=" MK_STR(LAN_SERVERIP) "\0" -- cgit v1.2.3