1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 10_validateroot.dpatch by Christian Hofstaedtler <ch@grml.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: add live-bottom/10validateroot
9 +++ b/scripts/live-bottom/10validateroot
15 +# initramfs-tools header
31 +. /scripts/live-functions
32 +. /scripts/live-helpers
34 +if ! [ -x "/root/sbin/init" ] ; then
35 + panic "rootfs can not be mounted as supposed because of fatal error during bootup."