mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
0ea26d6cae
...
59b4e28413
Author | SHA1 | Date |
---|---|---|
|
59b4e28413 | |
|
f79d31fdcd |
|
@ -62,6 +62,7 @@ function update_script() {
|
||||||
msg_ok "Stopped PhotoPrism"
|
msg_ok "Stopped PhotoPrism"
|
||||||
|
|
||||||
msg_info "Cloning PhotoPrism"
|
msg_info "Cloning PhotoPrism"
|
||||||
|
cd ~
|
||||||
git clone https://github.com/photoprism/photoprism.git &>/dev/null
|
git clone https://github.com/photoprism/photoprism.git &>/dev/null
|
||||||
cd photoprism
|
cd photoprism
|
||||||
git checkout release &>/dev/null
|
git checkout release &>/dev/null
|
||||||
|
|
|
@ -117,9 +117,10 @@ motd_ssh() {
|
||||||
}
|
}
|
||||||
|
|
||||||
customize() {
|
customize() {
|
||||||
|
$STD sysctl -p
|
||||||
if [[ "$PASSWORD" == "" ]]; then
|
if [[ "$PASSWORD" == "" ]]; then
|
||||||
msg_info "Customizing Container"
|
msg_info "Customizing Container"
|
||||||
bash -c "passwd -d root" >/dev/null 2>&1
|
bash -c "passwd -d root" >/dev/null 2>&1
|
||||||
msg_ok "Customized Container"
|
msg_ok "Customized Container"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue