4 SYSBUILD_HOME
="@SYSBUILD_HOME@"
5 SYSBUILD_USER
="@SYSBUILD_USER@"
9 if [ ! -e "${SYSBUILD_HOME}/.sysbuild/default.conf" ]; then
10 echo "${PKGNAME}: Installing default configuration file"
11 ${MKDIR} -p "${SYSBUILD_HOME}/.sysbuild"
12 ( cd "${SYSBUILD_HOME}/.sysbuild" && ln -s ..
/default.conf .
)
15 if crontab
-u "${SYSBUILD_USER}" -l >/dev
/null
2>/dev
/null
; then
16 echo "${PKGNAME}: ${SYSBUILD_USER} already has a crontab;" \
19 echo "${PKGNAME}: Installing default crontab for ${SYSBUILD_USER}"
20 crontab
-u "${SYSBUILD_USER}" "${EGDIR}/crontab"