Skip to content

Commit 4ae8855

Browse files
committed
baseboard/trogdor: add postinstall for rmtfs
1 parent 0ce3aab commit 4ae8855

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

baseboard/trogdor/postinstall

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
set -e
3+
4+
if [ -z "$DESTDIR" ]; then
5+
echo "DESTDIR variable is missing!"
6+
exit 1
7+
fi
8+
9+
cp /etc/systemd/system/rmtfs-dir.service "$DESTDIR/etc/systemd/system/rmtfs-dir.service"
10+
chroot "$DESTDIR" systemctl enable rmtfs-dir
11+

0 commit comments

Comments
 (0)