aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsd/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-02-27 06:49:34 +0800
committerMartin Wilke <miwi@FreeBSD.org>2007-02-27 06:49:34 +0800
commit44deb6e172e3f25d6621939e1b3b8c7f98add4c1 (patch)
treeb175212e756b57e858218bbaf8a091297a55da08 /devel/cvsd/files
parent687a2e1a8fe1f06b20e10439dfc54b7b411b9e20 (diff)
downloadfreebsd-ports-gnome-44deb6e172e3f25d6621939e1b3b8c7f98add4c1.tar.gz
freebsd-ports-gnome-44deb6e172e3f25d6621939e1b3b8c7f98add4c1.tar.zst
freebsd-ports-gnome-44deb6e172e3f25d6621939e1b3b8c7f98add4c1.zip
- Bump PORTREVISION
- When RootJail is set to 'none' there is some errors on starting rc_subr script and cvsd doesn't start. This patch solved the Problem. PR: 109546 Submitted by: Alexander Logvinov <ports@logvinov.com> Approved by: maintainer
Diffstat (limited to 'devel/cvsd/files')
-rw-r--r--devel/cvsd/files/cvsd.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/cvsd/files/cvsd.in b/devel/cvsd/files/cvsd.in
index d2823dd70ae3..addffe43661c 100644
--- a/devel/cvsd/files/cvsd.in
+++ b/devel/cvsd/files/cvsd.in
@@ -35,7 +35,7 @@ cvsd_config()
cvsd_prestart()
{
cvsd_config
- if [ $osreldate -gt 500000 ]; then
+ if [ $osreldate -gt 500000 ] && [ "$chrootjail" != "none" ]; then
mount -t devfs devfs $chrootjail/dev
devfs -m $chrootjail/dev rule apply hide
devfs -m $chrootjail/dev rule apply path null unhide
@@ -46,7 +46,7 @@ cvsd_prestart()
cvsd_poststop()
{
- if [ $osreldate -gt 500000 ]; then
+ if [ $osreldate -gt 500000 ] && [ "$chrootjail" != "none" ]; then
umount -t devfs $chrootjail/dev
fi
}