mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
12 lines
329 B
Bash
12 lines
329 B
Bash
#!/usr/bin/with-contenv bashio
|
|
# ==============================================================================
|
|
# Create VLC secret
|
|
# ==============================================================================
|
|
|
|
if bashio::fs.file_exists /data/secret; then
|
|
bashio::exit.ok
|
|
fi
|
|
|
|
# Generate password
|
|
pwgen 64 1 > /data/secret
|