summaryrefslogtreecommitdiffstats
path: root/remote/rootfs/rootfs-stage32/data/etc
diff options
context:
space:
mode:
authorJonathan Bauer2013-08-14 16:30:25 +0200
committerJonathan Bauer2013-08-14 16:30:25 +0200
commit65a8972cafc77d3658e911f71db365cfd4f023a5 (patch)
tree9222f8535c9e4a80c821b7a300902ad5f47df725 /remote/rootfs/rootfs-stage32/data/etc
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-65a8972cafc77d3658e911f71db365cfd4f023a5.tar.gz
tm-scripts-65a8972cafc77d3658e911f71db365cfd4f023a5.tar.xz
tm-scripts-65a8972cafc77d3658e911f71db365cfd4f023a5.zip
[rootfs-stage32] new systemd service and script to download, mount and append an addon (in sqfs) to the current /
Diffstat (limited to 'remote/rootfs/rootfs-stage32/data/etc')
-rw-r--r--remote/rootfs/rootfs-stage32/data/etc/systemd/system/setup-slx-addon@.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/etc/systemd/system/setup-slx-addon@.service b/remote/rootfs/rootfs-stage32/data/etc/systemd/system/setup-slx-addon@.service
new file mode 100644
index 00000000..af639976
--- /dev/null
+++ b/remote/rootfs/rootfs-stage32/data/etc/systemd/system/setup-slx-addon@.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Download, mount and append SLX addon %I
+After=sysinit.target
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-setup_slx_addon %I
+RemainAfterExit=yes