dmsquash-live: fixed checkisomd5 service call

master
Harald Hoyer 2012-12-20 13:46:31 +01:00
parent 3fa59d171d
commit 5204d1d36d
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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"
}