summaryrefslogtreecommitdiffstats
path: root/remote/tools/systemd/data/etc
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/tools/systemd/data/etc
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/tools/systemd/data/etc')
-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
3 files changed, 8 insertions, 2 deletions
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