Skip to content

Commit

Permalink
Ensure RAM disk exists before creating symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
rmens committed Mar 8, 2024
1 parent 5a03ded commit 7729347
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ rm -f /etc/systemd/system/ramdisk.service > /dev/null
curl -s -o /etc/systemd/system/ramdisk.service https://raw.githubusercontent.com/oszuidwest/rpi-umpx-decoder/ramdrive/ramdisk.service
systemctl daemon-reload > /dev/null
systemctl enable ramdisk > /dev/null
systemctl start ramdisk

# Put MicroMPX logs on RAM disk
if [ -d "/home/micrompx/.MicroMPX_Decoder.log" ]; then
Expand Down

0 comments on commit 7729347

Please sign in to comment.