diff options
author | Karel Zak | 2013-09-30 13:36:26 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-30 13:36:26 +0200 |
commit | 88407b93212275759e8a54f5d43f4cf7da67fcdf (patch) | |
tree | 52a6098a9605f6d0cb69d8e7dc1932260af9bacd /configure.ac | |
parent | build-sys: release++ (v2.24-rc1) (diff) | |
download | kernel-qcow2-util-linux-88407b93212275759e8a54f5d43f4cf7da67fcdf.tar.gz kernel-qcow2-util-linux-88407b93212275759e8a54f5d43f4cf7da67fcdf.tar.xz kernel-qcow2-util-linux-88407b93212275759e8a54f5d43f4cf7da67fcdf.zip |
nologin: add new command
Currently it's maintained as distro specific (or people use impolite
/bin/false way).
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 553228af2..098692c9f 100644 --- a/configure.ac +++ b/configure.ac @@ -1211,6 +1211,14 @@ AS_IF([test "x$enable_login_stat_mail" = xyes], [ ]) +AC_ARG_ENABLE([nologin], + AS_HELP_STRING([--disable-nologin], [do not build nologin]), + [], [enable_nologin=yes] +) +UL_BUILD_INIT([nologin]) +AM_CONDITIONAL([BUILD_NOLOGIN], [test "x$build_nologin" = xyes]) + + AC_ARG_ENABLE([sulogin], AS_HELP_STRING([--disable-sulogin], [do not build sulogin]), [], [enable_sulogin=yes] |