From: Harald Hoyer Date: Fri, 14 Aug 2009 14:18:27 +0000 (+0200) Subject: dmsquash-live: install the "real" eject X-Git-Tag: 0.9~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f905c1d7d62b7657ab3b01ac287dd6cbf0193ee7;p=thirdparty%2Fdracut.git dmsquash-live: install the "real" eject eject might be a symlink to consolehelper --- diff --git a/modules.d/90dmsquash-live/install b/modules.d/90dmsquash-live/install index e8c78c042..db7408b91 100755 --- a/modules.d/90dmsquash-live/install +++ b/modules.d/90dmsquash-live/install @@ -3,7 +3,14 @@ inst dmsetup inst blkid inst dd inst losetup -inst eject + +# eject might be a symlink to consolehelper +if [ -L /usr/bin/eject ]; then + dracut_install /usr/sbin/eject +else + inst eject +fi + inst blockdev which checkisomd5 >/dev/null 2>&1 && inst checkisomd5 inst_hook cmdline 30 "$moddir/parse-dmsquash-live.sh"