systemd: make ctrl-alt-del target configurable. (#16911)

We currently only allow upstream's default of "reboot.target" due to the
way the symlinks are initialized. I made this configurable similar to the
default unit.
This commit is contained in:
Christian Kauhaus
2016-07-19 09:42:53 +02:00
committed by Franz Pletz
parent a6e3a53229
commit 3530f3f20a
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ rec {
${optionalString (type == "system") ''
# Stupid misc. symlinks.
ln -s ${cfg.defaultUnit} $out/default.target
ln -s ${cfg.ctrlAltDelUnit} $out/ctrl-alt-del.target
ln -s rescue.target $out/kbrequest.target
mkdir -p $out/getty.target.wants/