aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-03-02 12:05:14 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-03-02 12:05:14 +0200
commit801656d6ae9b6c5cb199b2e53001ecaac41db4ae (patch)
tree79f0a21df11ad1941636d1be337cd41d5efb00f4 /configure.ac
parent4b214cf7c9c76532dc17cc7b1be844473b80b885 (diff)
downloadpies-801656d6ae9b6c5cb199b2e53001ecaac41db4ae.tar.gz
pies-801656d6ae9b6c5cb199b2e53001ecaac41db4ae.tar.bz2
Configurable pathname of the emergency shell
* configure.ac (EMERGENCY_SHELL): New arg_var. * src/Makefile.am (AM_CPPFLAGS): Define EMERGENCY_SHELL. * src/sysvinit.c (emergency_shell): Initialize with the value of EMERGENCY_SHELL.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c9097b1..77bc685 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,7 +135,9 @@ AC_ARG_VAR([DEFAULT_PIES_CONTROL_URL],
AC_SUBST([DEFAULT_INIT_CONTROL_URL],['unix:///dev/init.ctl'])
AC_ARG_VAR([DEFAULT_INIT_CONTROL_URL],
[URL of the default control socket])
-
+AC_SUBST([EMERGENCY_SHELL],['/sbin/sulogin'])
+AC_ARG_VAR([EMERGENCY_SHELL],[Filename of the emergency shell])
+
IMPRIMATUR_INIT
AC_CONFIG_FILES([Makefile

Return to:

Send suggestions and report system problems to the System administrator.