summaryrefslogtreecommitdiff
path: root/recipes/wwwoffle/files
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2010-02-11 22:59:30 +0000
committerutx@penguin.cz <utx@penguin.cz>2010-02-11 22:59:30 +0000
commit6172717a9c1b542ea60c5f9af62b82cd9c63c2ee (patch)
tree3ec80576fb4c54bb858ea424df12474868aaee2f /recipes/wwwoffle/files
parent90b94b1441b9c86997e38b44e26acb3d3a56b6ec (diff)
wwwoffle: Updated to version 2.9f.
Diffstat (limited to 'recipes/wwwoffle/files')
-rw-r--r--recipes/wwwoffle/files/wwwoffle.if-up6
-rw-r--r--recipes/wwwoffle/files/wwwoffle.init8
2 files changed, 6 insertions, 8 deletions
diff --git a/recipes/wwwoffle/files/wwwoffle.if-up b/recipes/wwwoffle/files/wwwoffle.if-up
index 43167a9e9c..32c2bc45ee 100644
--- a/recipes/wwwoffle/files/wwwoffle.if-up
+++ b/recipes/wwwoffle/files/wwwoffle.if-up
@@ -16,10 +16,8 @@ case "$IFACE" in
;;
esac
-# wwwoffle caches old network configuration and it may cause resolve failures
-/usr/bin/wwwoffle -kill
-/usr/sbin/wwwoffled >/dev/null 2>&1
-
+# wwwoffle caches old resolv.conf. It may cause resolve failures. -config forces its re-read.
+/usr/bin/wwwoffle -config
/usr/bin/wwwoffle -online
# Don't fetch over ppp*, which is typically expensive dial-up.
diff --git a/recipes/wwwoffle/files/wwwoffle.init b/recipes/wwwoffle/files/wwwoffle.init
index 7eac239a3e..10e03815d7 100644
--- a/recipes/wwwoffle/files/wwwoffle.init
+++ b/recipes/wwwoffle/files/wwwoffle.init
@@ -2,17 +2,17 @@
case "$1" in
start)
- /usr/sbin/wwwoffled
+ /usr/sbin/wwwoffled >/dev/null 2>&1
;;
restart)
- /usr/bin/wwwoffle -kill
+ /usr/bin/wwwoffle -kill >/dev/null 2>&1
/usr/sbin/wwwoffled >/dev/null 2>&1
;;
reload|force-reload)
- /usr/bin/wwwoffle -config
+ /usr/bin/wwwoffle -config >/dev/null 2>&1
;;
stop)
- /usr/bin/wwwoffle -kill
+ /usr/bin/wwwoffle -kill >/dev/null 2>&1
;;
*)
echo "Usage: /etc/init.d/wwwoffle {start|stop|restart|reload|force-reload}"