network: don't use "ifup -m"
[dracut.git] / modules.d / 98dracut-systemd / dracut-cmdline-ask.service
blob9a34b355a9c92342b21fc707d00b8eb06c04bec2
1 #  This file is part of systemd.
3 #  systemd is free software; you can redistribute it and/or modify it
4 #  under the terms of the GNU Lesser General Public License as published by
5 #  the Free Software Foundation; either version 2.1 of the License, or
6 #  (at your option) any later version.
8 # See systemd.special(7) for details
10 [Unit]
11 Description=dracut ask for additional cmdline parameters
12 DefaultDependencies=no
13 Before=dracut-cmdline.service
14 After=systemd-journald.socket
15 Wants=systemd-journald.socket
16 ConditionPathExists=/usr/lib/initrd-release
17 ConditionKernelCommandLine=rd.cmdline=ask
19 [Service]
20 Environment=DRACUT_SYSTEMD=1
21 Environment=NEWROOT=/sysroot
22 Type=oneshot
23 ExecStart=-/bin/dracut-cmdline-ask
24 StandardInput=tty
25 StandardOutput=inherit
26 StandardError=inherit
27 RemainAfterExit=yes
28 KillMode=process
29 IgnoreSIGPIPE=no
31 # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
32 # terminates cleanly.
33 KillSignal=SIGHUP