summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2013-02-20 17:41:09 +0100
committerJonathan Bauer2013-02-20 17:41:09 +0100
commit2b83f13fbf418cf196650f059888ecf996b3a29b (patch)
treec8437eb97003d37313660cc5b952cc5c06f1a37c /remote
parentMake mltk more good and less bad (diff)
downloadtm-scripts-2b83f13fbf418cf196650f059888ecf996b3a29b.tar.gz
tm-scripts-2b83f13fbf418cf196650f059888ecf996b3a29b.tar.xz
tm-scripts-2b83f13fbf418cf196650f059888ecf996b3a29b.zip
init auto hw config
Diffstat (limited to 'remote')
-rw-r--r--remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service12
-rw-r--r--remote/tools/systemd/data/etc/systemd/system/nfs-mount.service7
-rw-r--r--remote/tools/systemd/data/etc/systemd/system/udhcpc@.service2
l---------remote/tools/systemd/data/etc/systemd/system/udhcpc@.service.wants/openslx-mnt.mount1
-rw-r--r--remote/tools/systemd/systemd.conf3
5 files changed, 22 insertions, 3 deletions
diff --git a/remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service b/remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service
new file mode 100644
index 00000000..8e253ee1
--- /dev/null
+++ b/remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=System Logging Service
+Before=udev.service
+
+[Service]
+ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service
+ExecStart=/usr/sbin/rsyslogd -n -c5
+Sockets=syslog.socket
+StandardOutput=null
+
+[Install]
+WantedBy=multi-user.target
diff --git a/remote/tools/systemd/data/etc/systemd/system/nfs-mount.service b/remote/tools/systemd/data/etc/systemd/system/nfs-mount.service
new file mode 100644
index 00000000..727ff2ed
--- /dev/null
+++ b/remote/tools/systemd/data/etc/systemd/system/nfs-mount.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Mount NFS Share [TEST]
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/bin/mount -t nfs -o ro,async,nolock 132.230.4.6:/srv/openslx/export/nfs/ubuntu-12.04-test /openslx/mnt
diff --git a/remote/tools/systemd/data/etc/systemd/system/udhcpc@.service b/remote/tools/systemd/data/etc/systemd/system/udhcpc@.service
index 6c5c289b..e7d4d170 100644
--- a/remote/tools/systemd/data/etc/systemd/system/udhcpc@.service
+++ b/remote/tools/systemd/data/etc/systemd/system/udhcpc@.service
@@ -3,7 +3,7 @@ Description=DHCP Client
[Service]
Type=simple
-ExecStart=/openslx/sbin/udhcpc -O domain -O nissrv -O nisdomain -t 8 -s /etc/udhcpc.default.script -i %I
+ExecStart=/openslx/sbin/udhcpc -O domain -O nissrv -O nisdomain -t 8 -s /etc/udhcpc.openslx.script -i %I
[Install]
WantedBy=multi-user.target
diff --git a/remote/tools/systemd/data/etc/systemd/system/udhcpc@.service.wants/openslx-mnt.mount b/remote/tools/systemd/data/etc/systemd/system/udhcpc@.service.wants/openslx-mnt.mount
deleted file mode 120000
index 70ba668d..00000000
--- a/remote/tools/systemd/data/etc/systemd/system/udhcpc@.service.wants/openslx-mnt.mount
+++ /dev/null
@@ -1 +0,0 @@
-../openslx-mnt.mount \ No newline at end of file
diff --git a/remote/tools/systemd/systemd.conf b/remote/tools/systemd/systemd.conf
index 3171938d..a06b1ec4 100644
--- a/remote/tools/systemd/systemd.conf
+++ b/remote/tools/systemd/systemd.conf
@@ -77,6 +77,7 @@ REQUIRED_DIRECTORIES=" /etc
/usr/share/dbus-1
/usr/share/polkit-1
/usr/lib/udev/rules.d"
-REQUIRED_FILES=" /usr/share/systemd/kbd-model-map
+REQUIRED_FILES=" /usr/bin/systemd-analyze
+ /usr/share/systemd/kbd-model-map
/usr/lib/udev/findkeyboards
/usr/lib/udev/keyboard-force-release.sh"