diff options
| author | Jonathan Bauer | 2017-03-07 11:14:32 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2017-03-07 11:14:32 +0100 |
| commit | 9b61577c3ceb809c2473d4757590a01054466eaf (patch) | |
| tree | 2bbbd2dc0a7e79f8509b53bef2f1aba939900489 /builder/modules.d/wlan-boot/debug/services/debug-shell.service | |
| parent | Yannick Bilger's WLAN boot prototype (diff) | |
| download | systemd-init-9b61577c3ceb809c2473d4757590a01054466eaf.tar.gz systemd-init-9b61577c3ceb809c2473d4757590a01054466eaf.tar.xz systemd-init-9b61577c3ceb809c2473d4757590a01054466eaf.zip | |
moved all dracut modules to modules.d/ + support
Diffstat (limited to 'builder/modules.d/wlan-boot/debug/services/debug-shell.service')
| -rw-r--r-- | builder/modules.d/wlan-boot/debug/services/debug-shell.service | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/builder/modules.d/wlan-boot/debug/services/debug-shell.service b/builder/modules.d/wlan-boot/debug/services/debug-shell.service new file mode 100644 index 00000000..462694a6 --- /dev/null +++ b/builder/modules.d/wlan-boot/debug/services/debug-shell.service @@ -0,0 +1,33 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Early root shell on /dev/tty9 FOR DEBUGGING ONLY +Documentation=man:sushell(8) +DefaultDependencies=no +IgnoreOnIsolate=yes + +[Service] +Environment=TERM=linux +ExecStart=/opt/openslx/usr/bin/busybox ash +Restart=always +RestartSec=0 +StandardInput=tty +TTYPath=/dev/tty9 +TTYReset=yes +TTYVHangup=yes +KillMode=process +IgnoreSIGPIPE=no +# bash ignores SIGTERM +KillSignal=SIGHUP + +# Unset locale for the console getty since the console has problems +# displaying some internationalized messages. +Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= + +[Install] +WantedBy=sysinit.target |
