mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-29 21:55:25 +03:00
gpt-auto-generation: set a pretty description string
This commit is contained in:
parent
9533ad1f42
commit
1ebab691c7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user