pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/pbulk Use the same method to create the pbulk user ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b8dc6198dfa4
branches: trunk
changeset: 314472:b8dc6198dfa4
user: sevan <sevan%pkgsrc.org@localhost>
date: Mon Oct 29 02:47:08 2018 +0000
description:
Use the same method to create the pbulk user on Minix as NetBSD
diffstat:
mk/pbulk/pbulk.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r a95f8544cdac -r b8dc6198dfa4 mk/pbulk/pbulk.sh
--- a/mk/pbulk/pbulk.sh Mon Oct 29 01:50:00 2018 +0000
+++ b/mk/pbulk/pbulk.sh Mon Oct 29 02:47:08 2018 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: pbulk.sh,v 1.7 2018/02/08 12:59:28 triaxx Exp $
+# $NetBSD: pbulk.sh,v 1.8 2018/10/29 02:47:08 sevan Exp $
set -e
usage="usage: ${0##*/} [-lun] [-c mk.conf.fragment] [-d nodes]"
@@ -46,7 +46,7 @@
# Do it early since adding it after it fails is problematic:
if [ ! -n "$unprivileged" ]; then
case "$(uname)" in
-NetBSD)
+NetBSD|Minix)
if ! id pbulk; then user add -m -g users pbulk; fi
;;
FreeBSD)
Home |
Main Index |
Thread Index |
Old Index