diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2001-01-27 04:40:33 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2001-01-27 04:40:33 +0000 |
commit | 4a208e0f030c7cdeed8b5be9c2558347f21b5d15 (patch) | |
tree | 911e9ced0a5363652c5229d18b901e177c14b963 /astro/setiathome/pkg-install | |
parent | Add xw 0.0.8, an X app to list current users logged into the system. (diff) |
Update to setiathome 3.03 and replace inactive maintainer.
Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
PR: 24520
Notes
Notes:
svn path=/head/; revision=37618
Diffstat (limited to '')
-rw-r--r-- | astro/setiathome/pkg-install | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/astro/setiathome/pkg-install b/astro/setiathome/pkg-install index 57750ccf755b..e1476f1a64c9 100644 --- a/astro/setiathome/pkg-install +++ b/astro/setiathome/pkg-install @@ -4,11 +4,10 @@ # Set up the work area and run setiathome to login or register # -DBDIR=/var/db/setiathome -RCD=${PKG_PREFIX}/etc/rc.d/setiathome.sh +seti_rcdir=${PKG_PREFIX}/etc/rc.d # startup directory +seti_script=setiathome.sh # startup script seti_wrkdir=/var/db/setiathome # working directory -seti_user=nobody # user id to run under -seti_nice=1 # nice level to run at +seti_user=nobody # user id to run under seti_maxprocs=`sysctl -n hw.ncpu` # max. number of processes to start if [ -f ${PKG_PREFIX}/etc/setiathome.conf ]; then @@ -24,7 +23,7 @@ case $2 in echo "**** setihome requires a working directory for temporary files and" echo " a brief registration process." echo - echo " Would you like to set up a working directory in ${DBDIR}," + echo " Would you like to set up a working directory in ${seti_wrkdir}," if [ ${seti_maxprocs} -gt 1 ]; then if [ `sysctl -n hw.ncpu` -eq ${seti_maxprocs} ]; then echo " register with SETI@home, and let me arrange for ${seti_maxprocs} setiathome" @@ -44,18 +43,18 @@ case $2 in if [ "X$a" = "XN" -o "X$a" = "Xn" ]; then echo "" echo "Please set up the working directory yourself. You can use" - echo "${RCD} register" + echo "${seti_rcdir}/${seti_script} register" echo "to do so. See setiathome(1) for details." exit 0 fi - ${RCD} register + ${seti_rcdir}/${seti_script} register - if [ ! -f ${DBDIR}/user_info.sah ]; then + if [ ! -f ${seti_wrkdir}/user_info.sah ]; then echo "unable to start setiathome: it seems registration or login failed." exit 0 fi - ${RCD} start >/dev/null + ${seti_rcdir}/{seti_script} start >/dev/null echo echo "**** Congratulations! Your system now participates in the search for extra-" echo " terrestrial intelligence. Be sure to visit the home page at" |