Permalink
Browse files

rc.davfs2: added "reload" (needed by certificats)

git-svn-id: file:///var/svn/freetz/trunk@5809 149334a1-2f27-0410-a3b9-fc62619ac1e6
  • Loading branch information...
1 parent 4ed0d1c commit 022f7e9648fe34be700e9d942ae35f31ae1aa9e6 cuma committed Sep 17, 2010
Showing with 8 additions and 1 deletion.
  1. +8 −1 make/davfs2/files/root/etc/init.d/rc.davfs2
View
9 make/davfs2/files/root/etc/init.d/rc.davfs2
@@ -98,6 +98,10 @@ stop() {
rm -rf /var/run/mount.davfs/
}
+reload() {
+ killall -HUP $DAEMON 2>/dev/null
+}
+
case $1 in
""|load)
mkdir -p $CONF_DIR
@@ -126,11 +130,14 @@ case $1 in
restart)
modlib_restart
;;
+ reload)
+ modlib_reload
+ ;;
status)
modlib_status
;;
*)
- echo "Usage: $0 [load|unload|start|stop|restart|status]" 1>&2
+ echo "Usage: $0 [load|unload|start|stop|restart|reload|status]" 1>&2
exit 1
;;
esac

0 comments on commit 022f7e9

Please sign in to comment.