diff options
| author | Jonathan Bauer | 2013-01-14 14:30:24 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-01-14 14:30:24 +0100 |
| commit | e41f215770c7f5d8ee9d420e9f8b22f1c7f7c5ca (patch) | |
| tree | 4cb484422556d5ee9885c0f7ef9ea8d5377649fb /remote/tools/systemd/data/etc | |
| parent | old file deleted (diff) | |
| download | tm-scripts-e41f215770c7f5d8ee9d420e9f8b22f1c7f7c5ca.tar.gz tm-scripts-e41f215770c7f5d8ee9d420e9f8b22f1c7f7c5ca.tar.xz tm-scripts-e41f215770c7f5d8ee9d420e9f8b22f1c7f7c5ca.zip | |
[systemd] update to version 197, integrated udev.
Diffstat (limited to 'remote/tools/systemd/data/etc')
3 files changed, 48 insertions, 0 deletions
diff --git a/remote/tools/systemd/data/etc/systemd/system/debug-shell.service b/remote/tools/systemd/data/etc/systemd/system/debug-shell.service new file mode 100644 index 00000000..063d4995 --- /dev/null +++ b/remote/tools/systemd/data/etc/systemd/system/debug-shell.service @@ -0,0 +1,34 @@ +# 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 tty9 FOR DEBUGGING ONLY +Documentation=man:sushell(8) +DefaultDependencies=no +IgnoreOnIsolate=yes + +[Service] +Environment=TERM=linux +EnvironmentPath=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/openslx/sbin:/openslx/bin:/openslx/usr/sbin:/openslx/usr/bin +ExecStart=/openslx/bin/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 diff --git a/remote/tools/systemd/data/etc/systemd/system/network@.service b/remote/tools/systemd/data/etc/systemd/system/network@.service new file mode 100644 index 00000000..01f3a526 --- /dev/null +++ b/remote/tools/systemd/data/etc/systemd/system/network@.service @@ -0,0 +1,13 @@ +[Unit] +Description=Setup Network Connection +Wants=network.target +Before=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/openslx/bin/ip link set dev %I up +ExecStart=/openslx/sbin/udhcpc -O domain -O nissrv -O nisdomain -t 8 -s /etc/udhcpc.default.script -i %I + +[Install] +WantedBy=multi-user.target diff --git a/remote/tools/systemd/data/etc/systemd/system/sysinit.target.wants/debug-shell.service b/remote/tools/systemd/data/etc/systemd/system/sysinit.target.wants/debug-shell.service new file mode 120000 index 00000000..699b56ac --- /dev/null +++ b/remote/tools/systemd/data/etc/systemd/system/sysinit.target.wants/debug-shell.service @@ -0,0 +1 @@ +../debug-shell.service
\ No newline at end of file |
