dmsquash-live: fixed checkisomd5 service call
parent
3fa59d171d
commit
5204d1d36d
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue