Update umbrel-install.sh
enable umbrel-startup.service
This commit is contained in:
parent
c866343d29
commit
dcd68b523a
1 changed files with 2 additions and 1 deletions
|
@ -89,6 +89,8 @@ EOF
|
||||||
|
|
||||||
msg_info "Installing Umbrel (Patience)"
|
msg_info "Installing Umbrel (Patience)"
|
||||||
curl -sL https://umbrel.sh | bash &>/dev/null
|
curl -sL https://umbrel.sh | bash &>/dev/null
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl enable --now umbrel-startup.service &>/dev/null
|
||||||
msg_ok "Installed Umbrel"
|
msg_ok "Installed Umbrel"
|
||||||
|
|
||||||
PASS=$(grep -w "root" /etc/shadow | cut -b6)
|
PASS=$(grep -w "root" /etc/shadow | cut -b6)
|
||||||
|
@ -108,7 +110,6 @@ EOF
|
||||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||||
msg_ok "Customized Container"
|
msg_ok "Customized Container"
|
||||||
fi
|
fi
|
||||||
cd ~/umbrel/scripts && bash start &>/dev/null
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
apt-get autoremove >/dev/null
|
apt-get autoremove >/dev/null
|
||||||
apt-get autoclean >/dev/null
|
apt-get autoclean >/dev/null
|
||||||
|
|
Loading…
Reference in a new issue