summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/init
diff options
context:
space:
mode:
authorBastian Wissler2008-12-18 18:04:17 +0100
committerBastian Wissler2008-12-18 18:04:17 +0100
commit11a6046bbdcfef03117b6432646bb79813817fcd (patch)
tree8aa34c921378a405a6ec3143c091fe2224d2e9dc /initramfs/stage3-stuff/init
parent * add logread link .. (diff)
downloadcore-11a6046bbdcfef03117b6432646bb79813817fcd.tar.gz
core-11a6046bbdcfef03117b6432646bb79813817fcd.tar.xz
core-11a6046bbdcfef03117b6432646bb79813817fcd.zip
initramfs: * syslogd now started with 20>debug>=3
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2440 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-xinitramfs/stage3-stuff/init26
1 files changed, 6 insertions, 20 deletions
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index a0fec57d..918f84ef 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -124,26 +124,8 @@ for opts in $(sed "s/#.*//" /etc/initramfs-setup) ${KCMDLINE} ; do
shutdown)
cat <<EOL
-
-
- #####
- # # # # # # ##### ##### # # # ####
- # # # # # # # # ## # # #
- ##### ###### # # # # # # # # #
- # # # # # # # # # # # # ###
- # # # # # # # # # # ## # #
- ##### # # #### # # # # # ####
-
- ###### ###### #####
- # # #### # # # # # # # #
- # # # # # # ## # # # #
- # # # # # # # # # ###### #
- # # # # # ## # # # # # #
- # # # # ## ## # ## # # #
- ###### #### # # # # # #####
-
-
-
+ SHUTTING DOWN PC!
+
EOL
echo "o" >/proc/sysrq-trigger
;;
@@ -173,6 +155,10 @@ in $0\ncountry=\"${COUNTRY}\"" >>/etc/initramfs-setup
echo -e "#!/bin/ash\nash" >/bin/debugshell
chmod u+x /bin/debugshell
getty -i -n -l /bin/debugshell 38400 tty2 &
+ # start logging (debuglevel >=3)
+ echo "Syslog started on third console (tty3)"
+ syslogd -C2048
+ logread -f > /dev/tty3 &
fi
;;
# essid for WLAN boot (experimental, might be moved to a module component