Lines 35-41
Link Here
|
35 |
cvsd_prestart() |
35 |
cvsd_prestart() |
36 |
{ |
36 |
{ |
37 |
cvsd_config |
37 |
cvsd_config |
38 |
if [ $osreldate -gt 500000 ]; then |
38 |
if [ $osreldate -gt 500000 ] && [ "$chrootjail" != "none" ]; then |
39 |
mount -t devfs devfs $chrootjail/dev |
39 |
mount -t devfs devfs $chrootjail/dev |
40 |
devfs -m $chrootjail/dev rule apply hide |
40 |
devfs -m $chrootjail/dev rule apply hide |
41 |
devfs -m $chrootjail/dev rule apply path null unhide |
41 |
devfs -m $chrootjail/dev rule apply path null unhide |
Lines 46-52
Link Here
|
46 |
|
46 |
|
47 |
cvsd_poststop() |
47 |
cvsd_poststop() |
48 |
{ |
48 |
{ |
49 |
if [ $osreldate -gt 500000 ]; then |
49 |
if [ $osreldate -gt 500000 ] && [ "$chrootjail" != "none" ]; then |
50 |
umount -t devfs $chrootjail/dev |
50 |
umount -t devfs $chrootjail/dev |
51 |
fi |
51 |
fi |
52 |
} |
52 |
} |