summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/setiathome/Makefile4
-rw-r--r--misc/setiathome/files/setiathome.sh6
2 files changed, 6 insertions, 4 deletions
diff --git a/misc/setiathome/Makefile b/misc/setiathome/Makefile
index 159c9b46255..f1602d78a11 100644
--- a/misc/setiathome/Makefile
+++ b/misc/setiathome/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/04/09 15:52:29 jmmv Exp $
+# $NetBSD: Makefile,v 1.10 2003/06/02 19:55:16 abs Exp $
#
.include "../../mk/bsd.prefs.mk"
@@ -24,7 +24,7 @@ DISTNAME= ${PKGNAME_NOREV}
.endif
#
PKGNAME= setiathome-3.03
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.cdrom.com/pub/setiathome/ \
ftp://alien.ssl.berkeley.edu/pub/ \
diff --git a/misc/setiathome/files/setiathome.sh b/misc/setiathome/files/setiathome.sh
index 8d132a45ad2..134395ff56a 100644
--- a/misc/setiathome/files/setiathome.sh
+++ b/misc/setiathome/files/setiathome.sh
@@ -1,12 +1,14 @@
#!/bin/sh
#
-# $NetBSD: setiathome.sh,v 1.2 2003/05/01 18:07:55 jmmv Exp $
+# $NetBSD: setiathome.sh,v 1.3 2003/06/02 19:55:16 abs Exp $
#
# PROVIDE: setiathome
# REQUIRE: LOGIN
# KEYWORD: shutdown
+setiathome_flags='-nice 20'
+
. /etc/rc.subr
sah_user="nobody"
@@ -37,7 +39,7 @@ setiathome_start() {
echo "Starting ${name}."
su -fm ${sah_user} -c "cd ${sah_homedir} && exec ${command} \
- ${command_args} &" 2>/dev/null 1>/dev/null
+ ${setiathome_flags} ${command_args} &" 2>/dev/null 1>/dev/null
}
setiathome_poststop() {