# HG changeset patch # User Christophe Lincoln # Date 1337891593 -7200 # Node ID 44ff1bd1fa6d4d61c76c0a48cf8a4af8a1153b86 # Parent f19661ea6119779550322407af4927339ce7a787 Add rootfs dir for custom files diff -r f19661ea6119 -r 44ff1bd1fa6d rootfs/etc/init.d/rcS --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rootfs/etc/init.d/rcS Thu May 24 22:33:13 2012 +0200 @@ -0,0 +1,27 @@ +#!/bin/sh +# +. /lib/libtaz.sh + +PATH=/bin:/sbin:/usr/bin:/usr/sbin +LD_LIBRARY_PATH=/usr/lib:/lib +export PATH LD_LIBRARY_PATH + +sleep 2 +boldify "Executing: /etc/init.d/rcS" + +/bin/mount proc +/bin/mount -a + +/bin/hostname -F /etc/hostname +/sbin/ifconfig lo 127.0.0.1 up +/sbin/ifconfig eth0 up +/sbin/udhcpc -i eth0 + +if [ -f "/usr/share/kmap/default.kmap" ]; then + echo "Loading keymap..." + /sbin/loadkmap < /usr/share/kmap/default.kmap +fi + +newline +colorize 32 "Welcome to SliTaz ARM" +newline diff -r f19661ea6119 -r 44ff1bd1fa6d rootfs/etc/inittab --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rootfs/etc/inittab Thu May 24 22:33:13 2012 +0200 @@ -0,0 +1,8 @@ +# /etc/inittab: init configuration for SliTaz GNU/Linux. +# +::sysinit:/etc/init.d/rcS +#tty1::respawn:/sbin/getty 38400 tty1 +::respawn:-/bin/sh -l +tty2::askfirst:-/bin/sh +::ctrlaltdel:/bin/umount -a -r +::ctrlaltdel:/sbin/reboot diff -r f19661ea6119 -r 44ff1bd1fa6d rootfs/usr/bin/slitaz-arm.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rootfs/usr/bin/slitaz-arm.sh Thu May 24 22:33:13 2012 +0200 @@ -0,0 +1,13 @@ +#/bin/sh + +log=/tmp/slitaz-arm.log + +echo "uname:" | tee $log +uname -a | tee -a $log + +echo "ls[pci/usb]:" | tee -a $log +lspci | tee -a $log +lsusb 2>&1 | tee -a $log + +echo "dmesg:" +dmesg | tee -a $log