#!/bin/sh
set -ex

grub=/etc/default/grub
if [ -f /target$grub ] ; then
    in-target sed -i \
        's/^\(GRUB_CMDLINE_LINUX_DEFAULT=".*\)\bquiet\b\(.*"\)$/\1\2/g' \
        $grub
    in-target update-grub
fi
