diff options
author | abs <abs@pkgsrc.org> | 2003-06-02 19:55:16 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2003-06-02 19:55:16 +0000 |
commit | c36c8b894be2541b8475c6d8493a5424d5169806 (patch) | |
tree | 05a4f4c5a5060cc144d6c5e0c86f4d492cde40a5 /misc | |
parent | 72d67c55b0bf08d6e63594d1ab51a6c2a65633b7 (diff) | |
download | pkgsrc-c36c8b894be2541b8475c6d8493a5424d5169806.tar.gz |
Update to setiathome-3.03nb2.
Add support for setiathome_flags to startup script, and default to -nice 20.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/setiathome/Makefile | 4 | ||||
-rw-r--r-- | misc/setiathome/files/setiathome.sh | 6 |
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() { |