-e 's,@VERSION\@,$(VERSION),g' \
-e 's,@rootprefix\@,$(rootprefix),g' \
-e 's,@udevlibexecdir\@,$(udevlibexecdir),g' \
- -e 's,@sushell\@,$(sushell),g' \
+ -e 's,@SUSHELL\@,$(SUSHELL),g' \
+ -e 's,@DEBUGTTY\@,$(DEBUGTTY),g' \
-e 's,@KILL\@,$(KILL),g' \
-e 's,@QUOTAON\@,$(QUOTAON),g' \
-e 's,@QUOTACHECK\@,$(QUOTACHECK),g' \
fi
AM_CONDITIONAL(HAVE_SELINUX, [test "$have_selinux" = "yes"])
if test "x${have_selinux}" != xno ; then
- sushell=/sbin/sushell
+ SUSHELL=/sbin/sushell
else
- sushell=/bin/sh
+ SUSHELL=/bin/sh
fi
-AC_SUBST(sushell)
+AC_SUBST(SUSHELL)
# ------------------------------------------------------------------------------
have_xz=no
AM_CONDITIONAL([ENABLE_KEYMAP], [test "x$enable_keymap" = "xyes"])
# ------------------------------------------------------------------------------
-debugshell=/dev/tty9
+DEBUGTTY=/dev/tty9
AC_ARG_WITH([debugshelltty],
[AS_HELP_STRING([--with-debugshelltty=PATH],
[Specify the tty device for debug shell])],
- [debugshell="$withval"],
+ [DEBUGTTY="$withval"],
[])
-AC_SUBST(debugshell)
+AC_SUBST(DEBUGTTY)
# ------------------------------------------------------------------------------
have_manpages=no
# (at your option) any later version.
[Unit]
-Description=Early root shell on @debugshell@ FOR DEBUGGING ONLY
+Description=Early root shell on @DEBUGTTY@ FOR DEBUGGING ONLY
Documentation=man:sushell(8)
DefaultDependencies=no
IgnoreOnIsolate=yes
[Service]
Environment=TERM=linux
-ExecStart=@sushell@
+ExecStart=@SUSHELL@
Restart=always
RestartSec=0
StandardInput=tty
-TTYPath=@debugshell@
+TTYPath=@DEBUGTTY@
TTYReset=yes
TTYVHangup=yes
KillMode=process