mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
8456deb1f8
...
c0e3edc0c9
Author | SHA1 | Date |
---|---|---|
|
c0e3edc0c9 | |
|
47b581ee38 |
|
@ -97,6 +97,7 @@ $STD python3 -m nltk.downloader -d /usr/share/nltk_data all
|
||||||
msg_ok "Installed Natural Language Toolkit"
|
msg_ok "Installed Natural Language Toolkit"
|
||||||
|
|
||||||
msg_info "Setting up PostgreSQL database"
|
msg_info "Setting up PostgreSQL database"
|
||||||
|
export LC_ALL=C.UTF-8
|
||||||
DB_NAME=paperlessdb
|
DB_NAME=paperlessdb
|
||||||
DB_USER=paperless
|
DB_USER=paperless
|
||||||
DB_PASS="$(openssl rand -base64 18 | cut -c1-13)"
|
DB_PASS="$(openssl rand -base64 18 | cut -c1-13)"
|
||||||
|
|
|
@ -130,7 +130,7 @@ network_check() {
|
||||||
|
|
||||||
# Check if IPv6 is being used
|
# Check if IPv6 is being used
|
||||||
if ip -o -6 addr show | grep -q "scope global"; then
|
if ip -o -6 addr show | grep -q "scope global"; then
|
||||||
if ping6 -c 1 -W 1 2606:4700:4700::1111 &>/dev/null; then
|
if ping -6 google.com &>/dev/null; then
|
||||||
msg_ok "IPv6 Internet Connected";
|
msg_ok "IPv6 Internet Connected";
|
||||||
else
|
else
|
||||||
msg_error "IPv6 Internet Not Connected";
|
msg_error "IPv6 Internet Not Connected";
|
||||||
|
|
Loading…
Reference in New Issue