Skip to content

Commit

Permalink
[script] Move media linking to startup script
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeyexp committed Oct 22, 2018
1 parent a7dd682 commit 214ac3b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ for _device in /sys/block/sd*/device; do
# Allow all users rw to CSSTORAGE and subfolders/files
chmod -R 777 /media/${LABEL} > /dev/null 2>&1
chmown -R pi:pi /home/pi/.kodi > /dev/null 2>&1
# Add media links
ln -s /media/CSSTORAGE/Music/* /media/MYMEDIA
/usr/local/bin/crankshaft filesystem system lock
CSSTORAGE_DETECTED=1
else
Expand Down

0 comments on commit 214ac3b

Please sign in to comment.