1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
Commit graph

144 commits

Author SHA1 Message Date
avni
fe6516b2e9
Add lockfile removal before exit in usbmount script per Jerry's recommendation.
Add lockfile removal before exit in usbmount script per Jerry's recommendation. Also adjusted spacing! 

Read up on file locking a bit: 
- https://www.baeldung.com/linux/file-locking
- https://linux.die.net/man/1/lockfile-create
2025-02-14 15:56:09 -05:00
root
a96b46c223 upload2usb/upload2usb.php: using existence of /media to determine if a USB stick is mounted or not for both count and upload location; changing tabs to spaces for the whole file 2025-02-13 15:50:02 -05:00
root
728704b250 Merge branch 'umnt3' of https://github.com/jvonau/iiab into jerry 2025-02-13 11:15:44 -05:00
Jerry Vonau
ebceb4a6ac upload2usb.php add 'grep media' to device filter 2025-02-12 13:28:05 -06:00
Jerry Vonau
bd8c131ef6 clearer dependencies 2025-02-12 11:45:04 -06:00
Jerry Vonau
52da42c146 touchups and ordering 2025-02-12 11:19:54 -06:00
Jerry Vonau
9a95a046c4 lockfile-remove for fstab check 2025-02-12 10:36:22 -06:00
Jerry Vonau
759126414e #set -e, lockfile-remove, typo, missing debug line 2025-02-12 10:26:21 -06:00
root
fda19ad7f9 upload2usb/header.php: update swing logo to point to /usb/ instead of /upload2usb/ 2025-02-12 02:18:16 -05:00
Jerry Vonau
9bc2006ba3 exclude usb based device that host usbbooted filesytems 2025-02-11 17:10:02 -06:00
A Holt
1ec743a654
70-usb-library.j2: Fix logger string quotation marks 2025-02-11 10:42:05 -05:00
A Holt
94ca58aa0c
70-usb-library.j2: Cleaner logging & error handling (e.g. exit code 1) 2025-02-11 03:45:52 -05:00
A Holt
2398313918
70-usb-library.j2: Forcibly delete e.g. stale /library/www/html/local_content/USB0 2025-02-11 03:13:51 -05:00
A Holt
3596963d5c
Further update usb_lib/README.rst 2025-02-02 16:22:38 -05:00
A Holt
38a860d3c5
Update usb_lib/README.rst 2025-02-02 16:12:11 -05:00
root
8eed5e3fac usb_lib/README.rst, usb_lib/tasks/install.yml: Add docs on how to disable Desktop auto-mount functionality on RPi Desktop; other minor doc cleanup 2025-02-02 20:44:02 +00:00
A Holt
fb787e0649
Update USB_LIB description for iiab.ini 2025-02-01 01:24:47 -05:00
A Holt
b6b2f3a0d7
usbmount copyright URL clarifs for PR #3929 2025-01-31 04:24:07 -05:00
root
6b4b94dae2 usb_lib / usbmount: Refine, lint, clarify 2025-01-31 01:41:23 -05:00
Jerry Vonau
80bdfc677e
Update roles/usb_lib/tasks/install.yml
missed during rebase

Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-30 14:13:26 -06:00
Jerry Vonau
97eeae4845 wording 2025-01-30 14:07:51 -06:00
Jerry Vonau
78924e84ba create /media/usb0-7 2025-01-30 13:53:05 -06:00
Jerry Vonau
0dec3fe810 indent 2025-01-30 13:51:28 -06:00
Jerry Vonau
eca12605b9 forgot the dependencies 2025-01-30 13:51:28 -06:00
Jerry Vonau
daa3deb034 Update roles/usb_lib/templates/iiab-clean-usb.sh
to restore previous search-ability

Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-30 13:51:28 -06:00
Jerry Vonau
190d66409f Update roles/usb_lib/templates/iiab-clean-usb.sh
to restore previous search-ability

Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-30 13:51:28 -06:00
root
76d5b5fc17 usb_lib: Minor whitespace typos 2025-01-30 13:51:24 -06:00
Jerry Vonau
e6051088fc RuntimeDirectory=usbmount 2025-01-30 13:50:00 -06:00
Jerry Vonau
34b4a8a7ad ConditionPathExists=/var/run 2025-01-30 13:50:00 -06:00
Jerry Vonau
640ab00d26 update iiab-clean-usb.sh 2025-01-30 13:49:56 -06:00
Jerry Vonau
257dc008ec bump number of lock tries 2025-01-30 13:43:32 -06:00
Jerry Vonau
60ca24d63a replace deb with local files 2025-01-30 13:43:32 -06:00
Jerry Vonau
f58ef26768 just exit to quite down systemd logging of umount failed on stuff we don't care about 2025-01-30 13:43:32 -06:00
Jerry Vonau
a5af8c89d4 move mkdir and copyright 2025-01-30 13:43:32 -06:00
Jerry Vonau
36485a109d turn on debug 2025-01-30 13:43:32 -06:00
Jerry Vonau
229a913ba4 filesystems supported 2025-01-30 13:43:32 -06:00
Jerry Vonau
57fa6bb08f Files from usbmount_0.0.22_all.deb 2025-01-30 13:43:28 -06:00
A Holt
4e7541fc1e
usb_lib/README.rst: Punctuation cleanup & link to PR #3916 WIP 2025-01-29 14:00:56 -05:00
A Holt
0c0045f1c8
Merge pull request #3923 from holta/pp
Replacement for PR #3915, cleaning up merge conflict mess [prevent cheating (copying) of usb_lib homework uploads]
2025-01-29 04:50:50 -05:00
A Holt
078bab6d15
Merge pull request #3913 from avni/renamevar
vars/* and usb_lib/*: rename usb_lib_umask0000_for_kolibri
2025-01-29 04:50:37 -05:00
root
f5e2f4ad79 usb_lib/tasks/install.yml: Resolve merge conflict w/ PR #3919 2025-01-27 20:17:44 -05:00
root
c49c7b0d8d usb_lib/files/upload/upload2usb.php: allow zip files given some MacOS files, e.g., Pages files, have a mimetype of application/aip 2025-01-26 21:26:16 -05:00
root
48f4fc56f8 usb_lib/files/upload/header.php: link swing image back to upload2usb main page 2025-01-26 21:20:12 -05:00
root
fb07b9e3e5 nginx/templates/iiab.conf.j2, usb_lib/files/upload/header.php, usb_lib/tasks/install.yml: move app out of local_content and into /library/www/html/ 2025-01-26 21:18:30 -05:00
avni
1795276b20 upload/upload-file.php: fix var name bug and add better error handling 2025-01-26 16:36:43 +01:00
A Holt
7812edfed0
Fix 2 typos (explanation of when: not usb_lib_writable_sticks) 2025-01-26 09:32:49 -05:00
A Holt
cea4cac7f2
Clarify reset of FS_MOUNTOPTIONS in /etc/usbmount/usbmount.conf, if usb_lib_writable_sticks False 2025-01-26 09:28:48 -05:00
A Holt
d4e66748f3
usb_lib/install.yml: Clarify usb_lib_writable_sticks and umask=0000 2025-01-26 00:42:32 -05:00
avni
5663a84d27
70-usb-library.j2: update comment explaining PUBLIC folder better (from @holta)
Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 23:57:27 -05:00
avni
920235d54c 70-usb-library.j2: use findmnt instead of UM_DEVICE from usbmount to find device given the missing leading /; adding comment about public folder 2025-01-26 04:41:10 +01:00