diff options
author | obache <obache@pkgsrc.org> | 2011-05-11 12:46:20 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-05-11 12:46:20 +0000 |
commit | d620dfb64f94154f427d0a5510f65ea9ec4eb721 (patch) | |
tree | 18b5d03979d85e22db1f23a52e04779f42c55c5f | |
parent | 9173588fb80248441d604abea40b2d7ae39fd764 (diff) | |
download | pkgsrc-d620dfb64f94154f427d0a5510f65ea9ec4eb721.tar.gz |
NOLOGIN=/sbin/nologin for SSD/Linux.
-rw-r--r-- | mk/platform/Linux.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index 8276be29149..020dc5a3450 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.41 2011/03/20 09:00:08 obache Exp $ +# $NetBSD: Linux.mk,v 1.42 2011/05/11 12:46:20 obache Exp $ # # Variable definitions for the Linux operating system. @@ -25,8 +25,8 @@ DEFAULT_SERIAL_DEVICE?= /dev/null EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table GROUPADD?= /usr/sbin/groupadd MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type -.if exists(/usr/bin/false) -NOLOGIN?= /usr/bin/false +.if exists(/etc/ssdlinux_version) +NOLOGIN?= /sbin/nologin .else NOLOGIN?= /bin/false .endif |