]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
add apps to inittab
authorJiří Matěják <jiri.matejak@fel.cvut.cz>
Fri, 4 May 2018 11:14:05 +0000 (13:14 +0200)
committerJiří Matěják <jiri.matejak@fel.cvut.cz>
Wed, 9 May 2018 17:03:29 +0000 (19:03 +0200)
board/advantech/imx6q-rsb4411-a1/rootfs_overlay/etc/inittab [new file with mode: 0644]

diff --git a/board/advantech/imx6q-rsb4411-a1/rootfs_overlay/etc/inittab b/board/advantech/imx6q-rsb4411-a1/rootfs_overlay/etc/inittab
new file mode 100644 (file)
index 0000000..ca1e252
--- /dev/null
@@ -0,0 +1,38 @@
+# /etc/inittab
+#
+# Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
+#
+# Note: BusyBox init doesn't support runlevels.  The runlevels field is
+# completely ignored by BusyBox init. If you want runlevels, use
+# sysvinit.
+#
+# Format for each entry: <id>:<runlevels>:<action>:<process>
+#
+# id        == tty to run on, or empty for /dev/console
+# runlevels == ignored
+# action    == one of sysinit, respawn, askfirst, wait, and once
+# process   == program to run
+
+# Startup the system
+::sysinit:/bin/mount -t proc proc /proc
+::sysinit:/bin/mount -o remount,rw /
+::sysinit:/bin/mkdir -p /dev/pts
+::sysinit:/bin/mkdir -p /dev/shm
+::sysinit:/bin/mount -a
+::sysinit:/bin/hostname -F /etc/hostname
+# now run any rc scripts
+::sysinit:/etc/init.d/rcS
+
+# Put a getty on the serial port
+ttymxc0::respawn:/sbin/getty -L  ttymxc0 0 vt100 # GENERIC_SERIAL
+
+# Stuff to do for the 3-finger salute
+#::ctrlaltdel:/sbin/reboot
+
+# Stuff to do before rebooting
+::shutdown:/etc/init.d/rcK
+::shutdown:/sbin/swapoff -a
+::shutdown:/bin/umount -a -r
+
+::respawn:/usr/bin/mtaio
+::respawn:/usr/bin/mtbrowser.sh