install & automount

This commit is contained in:
2025-09-25 15:08:51 +02:00
parent 97547f4f80
commit cfd1b0bc43
4 changed files with 251 additions and 16 deletions

15
usb-automount.service Normal file
View File

@@ -0,0 +1,15 @@
[Unit]
Description=USB Auto-Mount Service for Video Player
After=multi-user.target
Wants=multi-user.target
[Service]
Type=oneshot
ExecStart=/opt/video_player/usb_automount.sh mount-all
RemainAfterExit=yes
User=root
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target