#!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org START=50 config_load "subversion" config_get svn_repo_path config SVN_REPO_PATH config_get svn_port config SVN_PORT start () { svnserve -d --listen-port ${svn_port} -r ${svn_repo_path} } stop() { killall -9 svnserve }