Skip to content

Commit

Permalink
rc.davfs2: added "reload" (needed by certificats)
Browse files Browse the repository at this point in the history
git-svn-id: file:///var/svn/freetz/trunk@5809 149334a1-2f27-0410-a3b9-fc62619ac1e6
  • Loading branch information
cuma committed Sep 17, 2010
1 parent 4ed0d1c commit 022f7e9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion make/davfs2/files/root/etc/init.d/rc.davfs2
Expand Up @@ -98,6 +98,10 @@ stop() {
rm -rf /var/run/mount.davfs/ rm -rf /var/run/mount.davfs/
} }


reload() {
killall -HUP $DAEMON 2>/dev/null
}

case $1 in case $1 in
""|load) ""|load)
mkdir -p $CONF_DIR mkdir -p $CONF_DIR
Expand Down Expand Up @@ -126,11 +130,14 @@ case $1 in
restart) restart)
modlib_restart modlib_restart
;; ;;
reload)
modlib_reload
;;
status) status)
modlib_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 exit 1
;; ;;
esac esac
Expand Down

0 comments on commit 022f7e9

Please sign in to comment.