diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-06-09 15:08:33 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:53:26 +0100 |
| commit | 80108725af940dcc7e0818ed3fbc67fe5419a527 (patch) | |
| tree | 3ac3f7c07aa897f50ec1d83847a62f8a64338dfb /scripts | |
| parent | e8442f6f94280334fee900c312cece7d658bdef0 (diff) | |
| download | live-boot-80108725af940dcc7e0818ed3fbc67fe5419a527.tar.gz live-boot-80108725af940dcc7e0818ed3fbc67fe5419a527.zip | |
Removing serialtty bottom script.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live-bottom/22serialtty | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/scripts/live-bottom/22serialtty b/scripts/live-bottom/22serialtty deleted file mode 100755 index ee9ddb1..0000000 --- a/scripts/live-bottom/22serialtty +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-boot header - -# this bottom script currently only works with upstart -if [ ! -d /root/etc/init ] -then - exit 0 -fi - -. /scripts/live-functions - -# live-boot script - -for ARGUMENT in $(cat /proc/cmdline) -do - case ${ARGUMENT} in - serialtty=*) - tty="${ARGUMENT#serialtty=}" - - log_begin_msg "Setting up a serial tty..." - -cat > /root/etc/init/${tty}.conf <<EOF -start on stopped rc RUNLEVEL=[2345] -stop on runlevel [!2345] - -respawn -exec /sbin/getty -L 115200 ${tty} vt100 -EOF - - log_end_msg - ;; - esac -done |
