#!/bin/sh # # $NetBSD: INSTALL,v 1.2 2002/12/01 19:39:49 jmmv Exp $ SYSBUILD_USER=@SYSBUILD_USER@ SYSBUILD_HOMEDIR=@SYSBUILD_HOMEDIR@ EGDIR=@EGDIR@ case ${STAGE} in POST-INSTALL) echo "Setting up sysbuild's crontab..." crontab -u ${SYSBUILD_USER} -r > /dev/null 2>&1 crontab -u ${SYSBUILD_USER} ${EGDIR}/crontab > /dev/null 2>&1 ;; DEINSTALL) echo "Removing sysbuild's crontab..." crontab -u ${SYSBUILD_USER} -r > /dev/null 2>&1 ${CAT} << EOF =========================================================================== If you will not be using sysbuild any longer, you may want to remove sysbuild's home directory and all work areas. Just to let you know, work areas can be removed using the 'destroy' target of the program. =========================================================================== EOF ;; esac