From ecdde4ab7367f09fd53025911cf90c7bb1dc6a6b Mon Sep 17 00:00:00 2001 From: Hijiri <7m4gmh@gmail.com> Date: Tue, 16 Sep 2014 02:18:21 +0900 Subject: [PATCH 1/2] Setting the path by exec(which umount). Location of "umount" command is different by operating systems -- e.g., /bin/umount on Raspbian. --- www/public_html/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/public_html/index.php b/www/public_html/index.php index eb696ed..0121b63 100755 --- a/www/public_html/index.php +++ b/www/public_html/index.php @@ -19,7 +19,7 @@ $DeviceList .= "of=/dev/" . $DeviceName . " "; //put device into variable for unmounting of drives - $UmountList .= "/usr/bin/umount /dev/" . $DeviceName . " & "; + $UmountList .= exec("which umount") . " /dev/" . $DeviceName . " & "; } //END create device list from checkbox array @@ -343,4 +343,4 @@ function initialStart() { - \ No newline at end of file + From 758e2753b6035758cc4b5cad279769f7a6ed88cb Mon Sep 17 00:00:00 2001 From: Hijiri <7m4gmh@gmail.com> Date: Fri, 7 Nov 2014 18:33:45 +0900 Subject: [PATCH 2/2] Added meta tags for avoiding unwanted browser caching --- www/public_html/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/public_html/index.php b/www/public_html/index.php index 0121b63..586de86 100755 --- a/www/public_html/index.php +++ b/www/public_html/index.php @@ -62,7 +62,10 @@ Open Source Image Duplicator - + + + +