#!/bin/sh -e

# insert init flag in the kernel boot arguments
sed -i s@linux.*vmlinuz.*@\&\ $(get-init)@ /boot/grub/grub.cfg.new
