Skip to content

Commit

Permalink
fix(system): make mounts public, add tc bootloader symlink (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
b-cooper authored Sep 20, 2019
1 parent c2cb4ce commit 0c6387e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Service]
PrivateMounts=no
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

test $ID_MODEL_ID = "ed12" && test $ID_VENDOR_ID = "04d8" || exit 0

name="thermocycler_bootloader_volume"

# If the symlink does not yet exist, create it.
test -e "/dev/modules/$name" || ln -sf "$UM_MOUNTPOINT" "/dev/modules/$name"

exit 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

env > /var/env_test

test $ID_MODEL_ID = "ed12" && test $ID_VENDOR_ID = "04d8" || exit 0

rm -f "/dev/modules/thermocycler_bootloader_volume"

exit 0

0 comments on commit 0c6387e

Please sign in to comment.