mirror of https://github.com/tteck/Proxmox.git
grep os
This commit is contained in:
parent
1cc8375031
commit
d8f7049cc8
|
@ -97,7 +97,7 @@ msg_ok "Installed AdGuard Home"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -95,7 +95,7 @@ msg_ok "Installed audiobookshelf"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -116,7 +116,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -349,7 +349,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -105,7 +105,7 @@ msg_ok "Installed CasaOS"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -109,7 +109,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -115,7 +115,7 @@ msg_ok "Installed Cronicle Primary Server"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -94,7 +94,7 @@ msg_ok "Installed Daemon Sync Server"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -125,7 +125,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -118,7 +118,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -132,7 +132,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -149,7 +149,7 @@ fi
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -108,7 +108,7 @@ msg_ok "Installed Emby"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -93,7 +93,7 @@ msg_ok "Installed EMQX"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -114,7 +114,7 @@ msg_ok "Installed ESPHome Dashboard"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -101,7 +101,7 @@ msg_ok "Installed Grafana"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -131,7 +131,7 @@ msg_ok "Installed grocy"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -125,7 +125,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -167,7 +167,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -152,7 +152,7 @@ msg_ok "Installed Home Assistant $CORE_LATEST_VERSION"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -104,7 +104,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -124,7 +124,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -113,7 +113,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -98,7 +98,7 @@ msg_ok "Installed Hyperion"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -127,7 +127,7 @@ fi
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -92,7 +92,7 @@ msg_ok "Installed ioBroker"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -132,7 +132,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -108,7 +108,7 @@ fi
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -114,7 +114,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -111,7 +111,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -118,7 +118,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -220,7 +220,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -109,7 +109,7 @@ fi
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -103,7 +103,7 @@ msg_ok "Installed MeshCentral"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -122,7 +122,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -99,7 +99,7 @@ msg_ok "Installed Mosquitto MQTT Broker"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -114,7 +114,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -142,7 +142,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -94,7 +94,7 @@ msg_ok "Installed NextCloudPi"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -246,7 +246,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -121,7 +121,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -124,7 +124,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -98,7 +98,7 @@ msg_ok "Installed Omada Controller"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -110,7 +110,7 @@ msg_ok "Installed OpenMediaVault"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -109,7 +109,7 @@ msg_ok "Installed openHAB"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -270,7 +270,7 @@ msg_ok "Created Services"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -182,7 +182,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -115,7 +115,7 @@ msg_ok "Installed Pi-hole"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -112,7 +112,7 @@ msg_ok "Installed Plex Media Server"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -114,7 +114,7 @@ msg_ok "Installed Home Assistant"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -93,7 +93,7 @@ msg_ok "Installed Podman"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -216,7 +216,7 @@ fi
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -123,7 +123,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -116,7 +116,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -116,7 +116,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -116,7 +116,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -121,7 +121,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -181,7 +181,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -150,7 +150,7 @@ msg_ok "Installed Shinobi"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -97,7 +97,7 @@ msg_ok "Installed Sonarr"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -100,7 +100,7 @@ msg_ok "Installed Syncthing"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -143,7 +143,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -95,7 +95,7 @@ msg_ok "Installed Technitium DNS"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -95,7 +95,7 @@ msg_ok "Installed Transmission"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -117,7 +117,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -88,7 +88,7 @@ msg_ok "Installed Dependencies"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -106,7 +106,7 @@ msg_ok "Installed Umbrel"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -101,7 +101,7 @@ msg_ok "Installed UniFi Network Application"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -121,7 +121,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -178,7 +178,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -116,7 +116,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -110,7 +110,7 @@ msg_ok "Installed Whoogle"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -138,7 +138,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -110,7 +110,7 @@ msg_ok "Installed WireGuard"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -97,7 +97,7 @@ msg_ok "Installed YunoHost"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -137,7 +137,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
|
@ -113,7 +113,7 @@ msg_ok "Created Service"
|
|||
echo "export TERM='xterm-256color'" >>/root/.bashrc
|
||||
if ! getent shadow root | grep -q "^root:[^\!*]"; then
|
||||
msg_info "Customizing Container"
|
||||
OS=`awk '/^ostype/' temp | cut -d' ' -f2`
|
||||
OS=$(grep "^ID=" /etc/os-release | cut -d'=' -f2)
|
||||
if [ "$OS" == "debian" ]; then rm /etc/motd /etc/update-motd.d/10-uname; else chmod -x /etc/update-motd.d/*; fi
|
||||
touch ~/.hushlogin
|
||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||
|
|
Loading…
Reference in New Issue