dmsquash-live: fixed checkisomd5 service call
authorHarald Hoyer <harald@redhat.com>
Thu, 20 Dec 2012 12:46:31 +0000 (13:46 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 2 Jan 2013 12:56:27 +0000 (13:56 +0100)
modules.d/90dmsquash-live/dmsquash-live-root.sh
modules.d/90dmsquash-live/module-setup.sh

index ec22977..f302d44 100755 (executable)
@@ -32,7 +32,7 @@ fi
 getarg rd.live.check -d check || check=""
 if [ -n "$check" ]; then
     [ -x /bin/plymouth ] && /bin/plymouth --hide-splash
-    if [ -n "DRACUT_SYSTEMD" ]; then
+    if [ -n "$DRACUT_SYSTEMD" ]; then
         p=$(str_replace "$livedev" "-" '\x2d')
         systemctl start checkisomd5@${p}.service
     else
index 3339e1d..1657865 100755 (executable)
@@ -29,5 +29,6 @@ install() {
     inst_script "$moddir/dmsquash-live-root.sh" "/sbin/dmsquash-live-root"
     # should probably just be generally included
     inst_rules 60-cdrom_id.rules
+    inst_simple "$moddir/checkisomd5@.service" "/etc/systemd/system/checkisomd5@.service"
 }