]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: simplify rescue.service and emergency.service (#5623)
authorMichael Biebl <mbiebl@gmail.com>
Thu, 23 Mar 2017 03:37:06 +0000 (04:37 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 23 Mar 2017 03:37:06 +0000 (23:37 -0400)
commit29f32655842a0712e8db482bcefc4da8908460c8
tree3862ac91bd08946c13992c83c71784490eb19027
parent1de2fef652c61621e876446c9f04417b6af18f0b
units: simplify rescue.service and emergency.service (#5623)

The emergency.service and rescue.service units have become rather
convoluted. We spawn multiple shells and the help text spans multiple lines
which makes the units hard to read.

Move the logic into a single shell script and call that via ExecStart.
Makefile.am
src/sulogin-shell/.gitignore [new file with mode: 0644]
src/sulogin-shell/systemd-sulogin-shell.in [new file with mode: 0755]
units/emergency.service.in
units/rescue.service.in