From 3b169f7bf4b62fab67e285f9e3dd60f03bb372a3 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 14 Oct 2011 12:22:04 +0200 Subject: [PATCH 1/1] replace references to zsh-login with run-welcome /usr/bin/zsh-login was renamed to /usr/share/grml-scripts/run-welcome in git commit fd86ffcbcd135b49bff36d1b4c2b96735b459f5a in grml-scripts.git (released as grml-scripts 1.4.7). --- autoconfig.functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoconfig.functions b/autoconfig.functions index a9c5043..a0846d9 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -594,7 +594,7 @@ if checkbootparam 'console'; then eindent einfo "Activating console login on device ${device} with speed ${speed}." local number="${device#ttyS}" - sed -i "/^T$number:/d;/^#grmlserial#/iT$number:23:respawn:/bin/bash -c \"/sbin/getty -L $device -l /usr/bin/zsh-login $speed vt100 || sleep 30\"" /etc/inittab + sed -i "/^T$number:/d;/^#grmlserial#/iT$number:23:respawn:/bin/bash -c \"/sbin/getty -L $device -l /usr/share/grml-scripts/run-welcome $speed vt100 || sleep 30\"" /etc/inittab eend $? telinitq="1" eoutdent @@ -1407,9 +1407,9 @@ EOF # adjust inittab for xstartup if grep -q '^6:' /etc/inittab ; then - sed -i 's|^6:.*|6:2345:respawn:/bin/zsh --login -c "/etc/init.d/xstartup ; /usr/bin/zsh-login" >/dev/tty6 2>\&1 /dev/tty6 2>\&1 /dev/tty6 2>&1 < /dev/tty6' >> /etc/inittab + echo '6:2345:respawn:/bin/zsh --login -c "/etc/init.d/xstartup ; /usr/share/grml-scripts/run-welcome" >/dev/tty6 2>&1 < /dev/tty6' >> /etc/inittab fi /sbin/telinit q ; eend $? -- 2.1.4