|
@@ -1,4 +1,10 @@
|
|
|
#!/usr/bin/env bash
|
|
|
+
|
|
|
+# Copyright (c) 2021-2023 tteck
|
|
|
+# Author: tteck (tteckster)
|
|
|
+# License: MIT
|
|
|
+# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
|
|
+
|
|
|
if [ "$VERBOSE" = "yes" ]; then set -x; STD=""; else STD="silent"; fi
|
|
|
silent() { "$@" > /dev/null 2>&1; }
|
|
|
if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; $STD sysctl -p; fi
|