summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-06-07 16:03:33 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-06-07 16:33:45 +0200
commited061a8dc2acd93c2eb569d2d983d5a77f7e5b77 (patch)
treea758baacdf5e0cf88f6f90fc60ae82a69f4880b2 /configure.ac
parenta2368a3f37ede469d4359421c1e4ad304c682a07 (diff)
units: add systemd-debug-shell.service
If enabled, the service provides a root shell from an early boot. It also remains active late into shutdown. It is useful for debugging startup and shutdown problems. This is the unit referenced in http://freedesktop.org/wiki/Software/systemd/Debugging#early_debug_shell
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c499d222fa..59892cb3d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,6 +172,12 @@ if test "x$enable_selinux" != "xno"; then
fi
fi
AM_CONDITIONAL(HAVE_SELINUX, [test "$have_selinux" = "yes"])
+if test "x${have_selinux}" != xno ; then
+ sushell=/sbin/sushell
+else
+ sushell=/bin/bash
+fi
+AC_SUBST(sushell)
# ------------------------------------------------------------------------------
have_xz=no