From 7166686ce2d824274a0995cd7f7036e75073a8ba Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Sat, 13 Nov 2010 19:20:20 +0800 Subject: [PATCH] add gmenu2x to inittab, remove init.d/start --- data/qi_lb60/files/etc/init.d/start | 7 ------- data/qi_lb60/files/etc/inittab | 8 ++++++++ 2 files changed, 8 insertions(+), 7 deletions(-) delete mode 100755 data/qi_lb60/files/etc/init.d/start create mode 100644 data/qi_lb60/files/etc/inittab diff --git a/data/qi_lb60/files/etc/init.d/start b/data/qi_lb60/files/etc/init.d/start deleted file mode 100755 index bb0fa6451..000000000 --- a/data/qi_lb60/files/etc/init.d/start +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006 OpenWrt.org - -START=99 -boot() { - SDL_NOMOUSE=1 start-stop-daemon -S -b -x /usr/bin/gmenu2x -} diff --git a/data/qi_lb60/files/etc/inittab b/data/qi_lb60/files/etc/inittab new file mode 100644 index 000000000..cb1da0f10 --- /dev/null +++ b/data/qi_lb60/files/etc/inittab @@ -0,0 +1,8 @@ +::sysinit:/etc/init.d/rcS S boot +::shutdown:/etc/init.d/rcS K stop +tts/0::askfirst:/bin/ash --login +ttyS0::askfirst:/bin/ash --login +tty1::respawn:/usr/bin/gmenu2x +tty2::askfirst:/bin/ash --login +tty3::askfirst:/bin/ash --login +tty4::askfirst:/bin/ash --login