It is important that this is fixed properly. With jigdo broken and now this, it's hard for Ubuntu to be taken seriously.
Regarding the proposed "if" statement:
if [ -n "$RL" ]; then telinit $RL
else telinit 2
fi
This looks unnecessary to me. Either a runlevel was specified as a kernel parameter and this if statement gets triggered (and $RL is set), or it isn't. If it isn't, then the last part of the script will kick in:
else
telinit 2
fi
end script
It looks like it was just copied from the "-r /etc/inittab" section, where inittab might exist but the initdefault line may not, but it is unnecessary in the proposed patch.
It is important that this is fixed properly. With jigdo broken and now this, it's hard for Ubuntu to be taken seriously.
Regarding the proposed "if" statement:
if [ -n "$RL" ]; then
telinit $RL
telinit 2
else
fi
This looks unnecessary to me. Either a runlevel was specified as a kernel parameter and this if statement gets triggered (and $RL is set), or it isn't. If it isn't, then the last part of the script will kick in:
else
telinit 2
fi
end script
It looks like it was just copied from the "-r /etc/inittab" section, where inittab might exist but the initdefault line may not, but it is unnecessary in the proposed patch.