From 6ddb802fc7fe7c10eb9843f5f64066be67f25334 Mon Sep 17 00:00:00 2001 From: David CHANEL Date: Thu, 5 Mar 2015 21:49:03 +0000 Subject: [PATCH] Added script to remount usbkey in rw mode --- install.sh | 1 + remount_rw_usbkey.sh | 1 + 2 files changed, 2 insertions(+) create mode 100755 remount_rw_usbkey.sh diff --git a/install.sh b/install.sh index 725b78c..dddca0f 100755 --- a/install.sh +++ b/install.sh @@ -34,6 +34,7 @@ rm -rf pi_hello_video echo "Installing video_looper program..." echo "==================================" +mkdir -p /mnt/usbdrive0 # This is very important if you put your system in readonly after python setup.py install --force cp video_looper.ini /boot/video_looper.ini diff --git a/remount_rw_usbkey.sh b/remount_rw_usbkey.sh new file mode 100755 index 0000000..ca680a1 --- /dev/null +++ b/remount_rw_usbkey.sh @@ -0,0 +1 @@ +sudo mount -o remount ,rw /mnt/usbdrive0