consistant getty_override

pull/1011/head
tteckster 3 years ago committed by GitHub
parent 671571d494
commit 7564db071e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      install/adguard-v5-install.sh
  2. 3
      install/audiobookshelf-v5-install.sh
  3. 3
      install/autobrr-v5-install.sh
  4. 3
      install/blocky-v5-install.sh
  5. 4
      install/casaos-v5-install.sh
  6. 3
      install/changedetection-v5-install.sh
  7. 3
      install/cronicle-v5-install.sh
  8. 4
      install/daemonsync-v5-install.sh
  9. 4
      install/dashy-v5-install.sh
  10. 3
      install/debian-v5-install.sh
  11. 3
      install/deconz-v5-install.sh
  12. 3
      install/deluge-v5-install.sh
  13. 4
      install/docker-v5-install.sh
  14. 3
      install/emby-v5-install.sh
  15. 3
      install/emqx-v5-install.sh
  16. 4
      install/esphome-v5-install.sh
  17. 4
      install/grafana-v5-install.sh
  18. 3
      install/grocy-v5-install.sh
  19. 4
      install/heimdalldashboard-v5-install.sh
  20. 3
      install/homeassistant-core-v5-install.sh
  21. 4
      install/homeassistant-v5-install.sh
  22. 4
      install/homebridge-v5-install.sh
  23. 3
      install/homepage-v5-install.sh
  24. 3
      install/homer-v5-install.sh
  25. 3
      install/hyperion-v5-install.sh
  26. 4
      install/influxdb-v5-install.sh
  27. 4
      install/iobroker-v5-install.sh
  28. 3
      install/jellyfin-v5-install.sh
  29. 3
      install/k0s-v5-install.sh
  30. 3
      install/kavita-v5-install.sh
  31. 3
      install/keycloak-v5-install.sh
  32. 3
      install/lidarr-v5-install.sh
  33. 3
      install/magicmirror-v5-install.sh
  34. 4
      install/mariadb-v5-install.sh
  35. 4
      install/meshcentral-v5-install.sh
  36. 4
      install/motioneye-v5-install.sh
  37. 4
      install/mqtt-v5-install.sh
  38. 4
      install/n8n-v5-install.sh
  39. 3
      install/navidrome-v5-install.sh
  40. 3
      install/nextcloudpi-v5-install.sh
  41. 4
      install/nginxproxymanager-v5-install.sh
  42. 4
      install/nocodb-v5-install.sh
  43. 4
      install/node-red-v5-install.sh
  44. 3
      install/omada-v5-install.sh
  45. 3
      install/omv-v5-install.sh
  46. 3
      install/openhab-v5-install.sh
  47. 4
      install/paperless-ngx-v5-install.sh
  48. 4
      install/photoprism-v5-install.sh
  49. 4
      install/pihole-v5-install.sh
  50. 3
      install/plex-v5-install.sh
  51. 4
      install/podman-homeassistant-v5-install.sh
  52. 3
      install/podman-v5-install.sh
  53. 3
      install/postgresql-v5-install.sh
  54. 3
      install/prometheus-v5-install.sh
  55. 3
      install/prowlarr-v5-install.sh
  56. 3
      install/radarr-v5-install.sh
  57. 3
      install/readarr-v5-install.sh
  58. 3
      install/sabnzbd-v5-install.sh
  59. 3
      install/scrypted-v5-install.sh
  60. 3
      install/shinobi-v5-install.sh
  61. 3
      install/sonarr-v5-install.sh
  62. 3
      install/syncthing-v5-install.sh
  63. 3
      install/tdarr-v5-install.sh
  64. 4
      install/technitiumdns-v5-install.sh
  65. 3
      install/transmission-v5-install.sh
  66. 3
      install/trilium-v5-install.sh
  67. 3
      install/ubuntu-v5-install.sh
  68. 4
      install/umbrel-v5-install.sh
  69. 4
      install/unifi-v5-install.sh
  70. 4
      install/uptimekuma-v5-install.sh
  71. 4
      install/vaultwarden-v5-install.sh
  72. 3
      install/whisparr-v5-install.sh
  73. 3
      install/whoogle-v5-install.sh
  74. 3
      install/wikijs-v5-install.sh
  75. 4
      install/wireguard-v5-install.sh
  76. 3
      install/yunohost-v5-install.sh
  77. 4
      install/zigbee2mqtt-v5-install.sh
  78. 4
      install/zwave-js-ui-v5-install.sh

@ -97,8 +97,8 @@ msg_ok "Installed AdGuard Home"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -95,7 +95,8 @@ msg_ok "Installed audiobookshelf"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -116,7 +116,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -349,7 +349,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -105,8 +105,8 @@ msg_ok "Installed CasaOS"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -109,7 +109,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -115,7 +115,8 @@ 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"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -94,8 +94,8 @@ 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"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -125,8 +125,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -87,7 +87,8 @@ msg_ok "Installed Dependencies"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -118,7 +118,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -132,7 +132,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -149,8 +149,8 @@ fi
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -108,7 +108,8 @@ msg_ok "Installed Emby"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -93,7 +93,8 @@ msg_ok "Installed EMQX"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -114,8 +114,8 @@ msg_ok "Installed ESPHome Dashboard"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -101,8 +101,8 @@ msg_ok "Installed Grafana"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -131,7 +131,8 @@ msg_ok "Installed grocy"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -125,8 +125,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -167,7 +167,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -152,8 +152,8 @@ 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"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -104,8 +104,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -124,7 +124,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -113,7 +113,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -98,7 +98,8 @@ msg_ok "Installed Hyperion"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -127,8 +127,8 @@ fi
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -92,8 +92,8 @@ msg_ok "Installed ioBroker"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -132,7 +132,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -108,7 +108,8 @@ fi
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -114,7 +114,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -111,7 +111,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -118,7 +118,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -220,7 +220,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -109,8 +109,8 @@ fi
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -103,8 +103,8 @@ msg_ok "Installed MeshCentral"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -122,8 +122,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -99,8 +99,8 @@ 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"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -114,8 +114,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -142,7 +142,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -94,7 +94,8 @@ msg_ok "Installed NextCloudPi"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -246,8 +246,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -121,8 +121,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -124,8 +124,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -98,7 +98,8 @@ msg_ok "Installed Omada Controller"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -110,7 +110,8 @@ msg_ok "Installed OpenMediaVault"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -109,7 +109,8 @@ msg_ok "Installed openHAB"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -270,8 +270,8 @@ msg_ok "Created Services"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -182,8 +182,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -115,8 +115,8 @@ msg_ok "Installed Pi-hole"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -112,7 +112,8 @@ 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"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -114,8 +114,8 @@ msg_ok "Installed Home Assistant"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -93,7 +93,8 @@ msg_ok "Installed Podman"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -216,7 +216,8 @@ fi
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -123,7 +123,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -116,7 +116,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -116,7 +116,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -116,7 +116,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -121,7 +121,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -181,7 +181,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -150,7 +150,8 @@ msg_ok "Installed Shinobi"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -97,7 +97,8 @@ msg_ok "Installed Sonarr"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -100,7 +100,8 @@ msg_ok "Installed Syncthing"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -143,7 +143,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -95,8 +95,8 @@ msg_ok "Installed Technitium DNS"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -95,7 +95,8 @@ msg_ok "Installed Transmission"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -117,7 +117,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -88,7 +88,8 @@ msg_ok "Installed Dependencies"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -106,8 +106,8 @@ msg_ok "Installed Umbrel"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -101,8 +101,8 @@ 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"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -121,8 +121,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -178,8 +178,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -116,7 +116,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -110,7 +110,8 @@ msg_ok "Installed Whoogle"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -138,7 +138,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -110,8 +110,8 @@ msg_ok "Installed WireGuard"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -97,7 +97,8 @@ msg_ok "Installed YunoHost"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
chmod -x /etc/update-motd.d/*
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -137,8 +137,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

@ -113,8 +113,8 @@ msg_ok "Created Service"
echo "export TERM='xterm-256color'" >>/root/.bashrc
if ! getent shadow root | grep -q "^root:[^\!*]"; then
msg_info "Customizing Container"
rm /etc/motd
rm /etc/update-motd.d/10-uname
OS=`awk '/^ostype/' temp | 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"
mkdir -p $(dirname $GETTY_OVERRIDE)

Loading…
Cancel
Save