-
+
Internet in a Box Upload to USB
files have been submitted today!
diff --git a/roles/usb_lib/files/upload2usb/upload2usb.php b/roles/usb_lib/files/upload/upload2usb.php
similarity index 96%
rename from roles/usb_lib/files/upload2usb/upload2usb.php
rename to roles/usb_lib/files/upload/upload2usb.php
index 15a94290da..bd13d1f6be 100644
--- a/roles/usb_lib/files/upload2usb/upload2usb.php
+++ b/roles/usb_lib/files/upload/upload2usb.php
@@ -16,6 +16,7 @@ function getTargetUSBDriveLocation () {
if (empty($removable_usb_path)) {
return "/library/www/html/local_content/";
} else {
+// error_log ("REMOVABLE USB PATH: " . $removable_usb_path);
return $removable_usb_path . "/";
}
}
diff --git a/roles/usb_lib/tasks/install.yml b/roles/usb_lib/tasks/install.yml
index e05eeefc08..de16e83a76 100644
--- a/roles/usb_lib/tasks/install.yml
+++ b/roles/usb_lib/tasks/install.yml
@@ -76,21 +76,21 @@
- { src: 'iiab-usb_lib-show-all-off', dest: '/usr/bin/', mode: '0755' }
- { src: 'iiab-clean-usb.sh', dest: '/usr/sbin/', mode: '0755' }
-- name: '2025-01-05: Add upload2usb directory to local_content'
+- name: '2025-01-05: Add upload2usb app directory to local_content'
file:
state: directory
- path: "{{ doc_root }}/local_content/upload2usb"
+ path: "{{ doc_root }}/local_content/upload"
owner: "{{ apache_user }}"
group: "{{ apache_user }}"
mode: 0755
-- name: '2025-01-05: Copy upload2usb app (#3875) files from files/upload2usb/ to local_content'
+- name: '2025-01-05: Copy upload2usb app (#3875) files from files/upload/ to local_content'
copy:
src: "{{ item }}"
- dest: "{{ doc_root }}/local_content/upload2usb" # /library/www/html
+ dest: "{{ doc_root }}/local_content/upload" # /library/www/html
with_fileglob:
- - upload2usb/*
+ - upload/*
# 2021-03-21: If usbmount is repackaged by apt as a result of Linux kernel 5.4+