Browse Source

dmsquash-live: fixed checkisomd5 service call

master
Harald Hoyer 12 years ago
parent
commit
5204d1d36d
  1. 2
      modules.d/90dmsquash-live/dmsquash-live-root.sh
  2. 1
      modules.d/90dmsquash-live/module-setup.sh

2
modules.d/90dmsquash-live/dmsquash-live-root.sh

@ -32,7 +32,7 @@ fi
getarg rd.live.check -d check || check="" getarg rd.live.check -d check || check=""
if [ -n "$check" ]; then if [ -n "$check" ]; then
[ -x /bin/plymouth ] && /bin/plymouth --hide-splash [ -x /bin/plymouth ] && /bin/plymouth --hide-splash
if [ -n "DRACUT_SYSTEMD" ]; then if [ -n "$DRACUT_SYSTEMD" ]; then
p=$(str_replace "$livedev" "-" '\x2d') p=$(str_replace "$livedev" "-" '\x2d')
systemctl start checkisomd5@${p}.service systemctl start checkisomd5@${p}.service
else else

1
modules.d/90dmsquash-live/module-setup.sh

@ -29,5 +29,6 @@ install() {
inst_script "$moddir/dmsquash-live-root.sh" "/sbin/dmsquash-live-root" inst_script "$moddir/dmsquash-live-root.sh" "/sbin/dmsquash-live-root"
# should probably just be generally included # should probably just be generally included
inst_rules 60-cdrom_id.rules inst_rules 60-cdrom_id.rules
inst_simple "$moddir/checkisomd5@.service" "/etc/systemd/system/checkisomd5@.service"
} }



Loading…
Cancel
Save