@ -31,7 +31,7 @@ catch_errors
function default_settings() {
CT_TYPE="1"
PW="-password alpine"
PW=""
CT_ID=$NEXTID
HN=$NSAPP
DISK_SIZE="$var_disk"
@ -33,3 +33,4 @@ $STD /opt/AdGuardHome/AdGuardHome -s start
$STD msg_ok "Installed Alpine-AdGuard"
motd_ssh
root
@ -59,3 +59,4 @@ if echo "$prompt" | grep -Eq "^(y|yes)$"; then
fi
@ -29,3 +29,4 @@ $STD rc-update add grafana default
msg_ok "Installed Grafana"
@ -36,3 +36,4 @@ $STD rc-update add vaultwarden default
msg_ok "Installed Alpine-Vaultwarden"
@ -26,3 +26,4 @@ $STD apk add zigbee2mqtt
msg_ok "Installed Alpine-Zigbee2MQTT"
@ -114,3 +114,15 @@ motd_ssh() {
$STD /etc/init.d/sshd start
}
customize() {
msg_info "Customizing Container"
bash -c "/etc/init.d/syslog stop;rc-update del syslog boot;passwd -d root" >/dev/null 2>&1
msg_ok "Customized Container"
root() {
if ! getent shadow root | grep -q '^root:[^:]*:\?\$'; then
customize
Powered by BW's shoe-string budget.