more install things
This commit is contained in:
@@ -6,7 +6,14 @@
|
||||
# Configuration
|
||||
MOUNT_BASE="/media/usb"
|
||||
LOG_FILE="/var/log/usb_automount.log"
|
||||
USER="pi"
|
||||
|
||||
# Load environment variables from .env file if it exists
|
||||
if [[ -f ".env" ]]; then
|
||||
source .env
|
||||
fi
|
||||
|
||||
# Set defaults if not defined in .env
|
||||
USER="${USER:-pi}"
|
||||
|
||||
# Function to log messages
|
||||
log_message() {
|
||||
|
||||
Reference in New Issue
Block a user