config: add handler for SIGHUP and a reload-configuration stub

This commit is contained in:
Thomas Haller
2014-07-09 18:36:20 +02:00
parent 50fce5a860
commit d62022e28a
4 changed files with 18 additions and 3 deletions

View File

@@ -40,9 +40,7 @@
static gboolean
sighup_handler (gpointer user_data)
{
/* Reread config stuff like system config files, VPN service files, etc */
nm_log_info (LOGD_CORE, "caught SIGHUP, not supported yet.");
nm_main_config_reload ();
return G_SOURCE_CONTINUE;
}