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

systemd does not like a leading "-" for unit template filenames anymore.
master
Harald Hoyer 2015-07-07 13:25:56 +02:00
parent f621aeba65
commit 3d579309cd
1 changed files with 1 additions and 1 deletions

View File

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