X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=config-ui%2Fbrowser-switchboard-cp.c;h=10998907726c116917413170720ff41c30697ee4;hb=468a5d3a17fc14c75a429561aa4d7ee16e939308;hp=142b008473e885b44ad4df1bcaf0fc392413bdc9;hpb=d3235c153fcd1cb13fff96eeff47713b56f3885f;p=browser-switch diff --git a/config-ui/browser-switchboard-cp.c b/config-ui/browser-switchboard-cp.c index 142b008..1099890 100644 --- a/config-ui/browser-switchboard-cp.c +++ b/config-ui/browser-switchboard-cp.c @@ -260,7 +260,10 @@ out: static void do_reconfig(void) { save_config(); - /* TODO: send HUP to browser-switchboard */ + /* Try to send SIGHUP to any running browser-switchboard process + This causes it to reread config files if in continuous_mode, and + die so that the config will be reloaded on next start otherwise */ + system("killall -HUP browser-switchboard > /dev/null 2>&1"); }