Commit 810aee92 authored by Tollef Fog Heen's avatar Tollef Fog Heen
Browse files

Don't use systemctl redirect for init scripts with X-Interactive: true

parent d05395d7
......@@ -4,6 +4,7 @@ systemd (16-1) experimental; urgency=low
* New upstream release. Closes: #609611
* Get rid of now obsolete patches that are upstream.
* Use the built-in cryptsetup support in systemd.
* Don't use systemctl redirect for init scripts with X-Interactive: true
[ Michael Biebl ]
* Update package description
......
......@@ -20,7 +20,10 @@ if [ -e /sys/fs/cgroup/systemd ] ; then
if [ $PPID -ne 1 ] && [ -z "$init" ] && [ -z "$_SYSTEMCTL_SKIP_REDIRECT" ] ; then
case "$0" in
/etc/init.d/*)
_use_systemctl=1
# Don't redirect if the init script has X-Interactive: true
if ! grep -qs "X-Interactive: true" "$0"; then
_use_systemctl=1
fi
;;
esac
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment