On Sun, Aug 3, 2014 at 2:12 PM, Bob Proulx <b...@proulx.com> wrote:
>
>     if [ -f /etc/inittab ]; then
>       if grep -q '^1:2345:respawn:/sbin/getty 38400 tty' /etc/inittab; then
>         log "Fixing getty --noclear in /etc/inittab"
>         sed --in-place '/^1/s/getty 38400/getty --noclear 38400/' /etc/inittab
>         kill -1 1  # Tell init to re-read the inittab file.
>       fi
>     fi

You can use "telinit q" instead of "kill -1 1".


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAOdo=Sw1DVGcDzi5UO+uRzsVVOJ9mmTMJKqXhw1BW9Xf9Uo==g...@mail.gmail.com

Reply via email to