summaryrefslogtreecommitdiff
path: root/initd
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-08-24 16:53:15 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-08-24 21:17:31 +0200
commit25afc0b3d0abb061829af926a38b31c977511531 (patch)
tree7955a9a710e9eb786e32fa052b69d59ff76cfd6b /initd
parentec74e5bbee30381b1624ac2247e74fa29676c6e6 (diff)
Remove ctrl+alt+del target, simply initiate reboot target
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'initd')
-rw-r--r--initd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/initd/main.c b/initd/main.c
index 78e8635..561bae6 100644
--- a/initd/main.c
+++ b/initd/main.c
@@ -41,7 +41,7 @@ static void handle_signal(void)
}
break;
case SIGINT:
- /* TODO: ctrl-alt-del */
+ supervisor_set_target(TGT_REBOOT);
break;
}
}