Browse Source

dmsquash-live/dmsquash-live-root.sh: fixup checkisomd5 for systemd

systemd does not like a leading "-" for unit template filenames anymore.
master
Harald Hoyer 10 years ago
parent
commit
3d579309cd
  1. 2
      modules.d/90dmsquash-live/dmsquash-live-root.sh

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

@ -41,7 +41,7 @@ getarg rd.live.check -d check || check="" @@ -41,7 +41,7 @@ getarg rd.live.check -d check || check=""
if [ -n "$check" ]; then
type plymouth >/dev/null 2>&1 && plymouth --hide-splash
if [ -n "$DRACUT_SYSTEMD" ]; then
p=$(str_replace "$livedev" "-" '\x2d')
p=$(dev_unit_name "$livedev")
systemctl start checkisomd5@${p}.service
else
checkisomd5 --verbose $livedev

Loading…
Cancel
Save