[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fsck progress not shown on boot with systemd as pid 1



On Sun, Aug 3, 2014 at 2:12 PM, Bob Proulx <bob@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".


Reply to: