#!/bin/sh if [ "x$DOAS_USER" = "x" ]; then echo "This is intended to be run with doas" exit 1 fi rm -f /cvs/$DOAS_USER ln -sf /home/$DOAS_USER/public_cvs /cvs/$DOAS_USER chown $USER:users /home/$DOAS_USER/public_cvs chmod -R 1777 /home/$DOAS_USER/public_cvs