diff options
author | Thomas Haller <thaller@redhat.com> | 2015-06-25 21:10:32 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-06-25 22:02:18 +0200 |
commit | caed15e082efe0af2db3d8a88f72d27640fb381f (patch) | |
tree | 96a1349a32c139df507a9adcfc5bc9f77f3f0518 /src/main-utils.h | |
parent | c2754ede5cc26a76e5804c09003c2175ef48cf6a (diff) | |
download | NetworkManager-caed15e082efe0af2db3d8a88f72d27640fb381f.tar.gz |
config: pass signals to nm_config_reload()
Also react on SIGUSR1 and SIGUSR2, beside SIGHUP.
Only for SIGHUP actually reload the configuration from
disc. For the other signals only emit a config-changed
signal.
Diffstat (limited to 'src/main-utils.h')
-rw-r--r-- | src/main-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main-utils.h b/src/main-utils.h index 7adfa94940..4955029532 100644 --- a/src/main-utils.h +++ b/src/main-utils.h @@ -44,6 +44,6 @@ gboolean nm_main_utils_early_setup (const char *progname, /* The following functions are not implemented inside nm-main-utils.c, instead * main.c and nm-iface-helper.c */ -void nm_main_config_reload (void); +void nm_main_config_reload (int signal); #endif /* __MAIN_UTILS_H__ */ |