9 test x
"${svnserve:-NO}" = x
"NO" && exit 0
10 test x
"$svnserve" = x
"DAEMON" && test -x /bin
/mksh
&& exec mksh
-T- $0 start
14 if [[ ! -d $svnserve_path ]]; then
15 echo "The subversion repository ($svnserve_path) does not exist."
16 echo "Create a new repository and/or change the path in /etc/rc.conf"
18 echo "Create a new subversion repository with:"
19 echo " mkdir -p $svnserve_path"
20 echo " svnadmin create --fs-type fsfs $svnserve_path"
25 /usr
/bin
/svnserve
-d -r $svnserve_path
28 kill $
(pgrep
-f /usr
/bin
/svnserve
)
35 echo "Usage: $0 {start|stop|restart}"