]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
resume: fixed udev rule for /dev/resume instead of /dev/dev/resume
authorHarald Hoyer <harald@redhat.com>
Thu, 19 Dec 2013 16:09:55 +0000 (17:09 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 19 Dec 2013 16:09:55 +0000 (17:09 +0100)
https://bugzilla.redhat.com/show_bug.cgi?id=1045116

modules.d/95resume/parse-resume.sh

index c84dafb3474c7e9575bb2ca58fc16d62de6e99b1..8682a03ea6982bdf489b119576e9c9a0e51ff0f7 100755 (executable)
@@ -40,9 +40,9 @@ esac
 if ! getarg noresume; then
     if [ -n "$resume" ]; then
         {
-            printf "KERNEL==\"%s\", ACTION==\"add|change\", SYMLINK+=\"/dev/resume\"\n" \
+            printf "KERNEL==\"%s\", ACTION==\"add|change\", SYMLINK+=\"resume\"\n" \
                 ${resume#/dev/};
-            printf "SYMLINK==\"%s\", ACTION==\"add|change\", SYMLINK+=\"/dev/resume\"\n" \
+            printf "SYMLINK==\"%s\", ACTION==\"add|change\", SYMLINK+=\"resume\"\n" \
                 ${resume#/dev/};
         } >> /etc/udev/rules.d/99-resume-link.rules