chiark / gitweb /
gpt-auto-generation: set a pretty description string
[elogind.git] / src / gpt-auto-generator / gpt-auto-generator.c
index 4f5224f..c4109f3 100644 (file)
@@ -144,6 +144,8 @@ static int add_swap(const char *path, const char *fstype) {
 
         fprintf(f,
                 "# Automatically generated by systemd-gpt-auto-generator\n\n"
+                "[Unit]\n"
+                "Description=Swap Partition\n\n"
                 "[Swap]\n"
                 "What=%s\n",
                 path);