From 83cc030fadf71d63d488cf9015275f9e5a02e2cc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 15 Feb 2011 00:30:11 +0100 Subject: shutdown: execute all binaries in /lib/systemd/system-shutdown as last step before invoking reboot() --- src/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index a534dcfecc..3898b89ff1 100644 --- a/src/util.h +++ b/src/util.h @@ -375,6 +375,8 @@ const char *default_term_for_tty(const char *tty); bool running_in_vm(void); +void execute_directory(const char *directory, DIR *_d, char *argv[]); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1) -- cgit v1.2.3-54-g00ecf