Files
addons/vlc/rootfs/etc/cont-init.d/secret.sh
Pascal Vizeli 9fd88b5e35 Add VLC add-on (#1862)
* Add VLC add-on

* remove armhf support
2021-02-16 17:49:06 +01:00

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