FreeBSD-specific: readlink doesn't recurse, use realpath. --- lib/vserver.in.orig Fri Feb 23 13:04:04 2007 +++ lib/vserver.in Wed Dec 5 00:21:02 2007 @@ -35,7 +35,7 @@ getconf VSERVER /usr/sbin/vserver getconf VROOTDIR `if [ -x "$VSERVERINFO" ]; then $VSERVERINFO info SYSINFO | grep '^ *vserver-Rootdir' | @AWK@ '{print $2}'; fi` # canonicalize VROOTDIR - [ -z "$VROOTDIR" ] || VROOTDIR=`readlink --canonicalize $VROOTDIR` + [ -z "$VROOTDIR" ] || VROOTDIR=`realpath $VROOTDIR` # init this library's global variables vservers_are_available=no found_vservers=