chiark / gitweb /
units: rename cryptsetup@.service to systemd-cryptsetup@.service
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Jun 2012 12:27:58 +0000 (14:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Jun 2012 12:28:50 +0000 (14:28 +0200)
It's also our own code, hence should have the prefix.

src/cryptsetup/cryptsetup-generator.c

index 05808df38041cc29bbaf225a01c2b7cf222d1e2d..4166f365eaccef7dc451d117757b54a14a6cfc8e 100644 (file)
@@ -81,7 +81,7 @@ static int create_disk(
         noauto = has_option(options, "noauto");
         nofail = has_option(options, "nofail");
 
         noauto = has_option(options, "noauto");
         nofail = has_option(options, "nofail");
 
-        n = unit_name_build_escape("cryptsetup", name, ".service");
+        n = unit_name_build_escape("systemd-cryptsetup", name, ".service");
         if (!n) {
                 r = -ENOMEM;
                 log_error("Failed to allocate unit name.");
         if (!n) {
                 r = -ENOMEM;
                 log_error("Failed to allocate unit name.");