projects
/
browser-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ffdb0fc
)
config-ui: Teach UI how to HUP C browser-switchboards
author
Steven Luo
<steven+maemo@steven676.net>
Fri, 18 Dec 2009 11:41:06 +0000
(
03:41
-0800)
committer
Steven Luo
<steven+maemo@steven676.net>
Fri, 18 Dec 2009 11:43:06 +0000
(
03:43
-0800)
config-ui/browser-switchboard-cp.c
patch
|
blob
|
history
diff --git
a/config-ui/browser-switchboard-cp.c
b/config-ui/browser-switchboard-cp.c
index
bee946b
..
1099890
100644
(file)
--- a/
config-ui/browser-switchboard-cp.c
+++ b/
config-ui/browser-switchboard-cp.c
@@
-263,7
+263,7
@@
static void do_reconfig(void) {
/* 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("kill -HUP `busybox ps | fgrep 'python /usr/bin/browser-switchboard' | fgrep -v grep | awk '{ print $1 }'` > /dev/null 2>&1");
+ system("killall -HUP browser-switchboard > /dev/null 2>&1");
}