diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-15 00:30:11 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-15 00:30:11 +0100 |
commit | 83cc030fadf71d63d488cf9015275f9e5a02e2cc (patch) | |
tree | 4bfa13d11be343cba555e9b629e16a0edb4c4c41 /src/util.h | |
parent | 3036c489fa503031acb9a2fba1f3537cbe59ae9e (diff) |
shutdown: execute all binaries in /lib/systemd/system-shutdown as last step before invoking reboot()
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) |