Browse Source

add rm options

tteckster 2 năm trước cách đây
mục cha
commit
351161bc83
78 tập tin đã thay đổi với 78 bổ sung78 xóa
  1. 1 1
      install/adguard-v5-install.sh
  2. 1 1
      install/audiobookshelf-v5-install.sh
  3. 1 1
      install/autobrr-v5-install.sh
  4. 1 1
      install/blocky-v5-install.sh
  5. 1 1
      install/casaos-v5-install.sh
  6. 1 1
      install/changedetection-v5-install.sh
  7. 1 1
      install/cronicle-v5-install.sh
  8. 1 1
      install/daemonsync-v5-install.sh
  9. 1 1
      install/dashy-v5-install.sh
  10. 1 1
      install/debian-v5-install.sh
  11. 1 1
      install/deconz-v5-install.sh
  12. 1 1
      install/deluge-v5-install.sh
  13. 1 1
      install/docker-v5-install.sh
  14. 1 1
      install/emby-v5-install.sh
  15. 1 1
      install/emqx-v5-install.sh
  16. 1 1
      install/esphome-v5-install.sh
  17. 1 1
      install/grafana-v5-install.sh
  18. 1 1
      install/grocy-v5-install.sh
  19. 1 1
      install/heimdalldashboard-v5-install.sh
  20. 1 1
      install/homeassistant-core-v5-install.sh
  21. 1 1
      install/homeassistant-v5-install.sh
  22. 1 1
      install/homebridge-v5-install.sh
  23. 1 1
      install/homepage-v5-install.sh
  24. 1 1
      install/homer-v5-install.sh
  25. 1 1
      install/hyperion-v5-install.sh
  26. 1 1
      install/influxdb-v5-install.sh
  27. 1 1
      install/iobroker-v5-install.sh
  28. 1 1
      install/jellyfin-v5-install.sh
  29. 1 1
      install/k0s-v5-install.sh
  30. 1 1
      install/kavita-v5-install.sh
  31. 1 1
      install/keycloak-v5-install.sh
  32. 1 1
      install/lidarr-v5-install.sh
  33. 1 1
      install/magicmirror-v5-install.sh
  34. 1 1
      install/mariadb-v5-install.sh
  35. 1 1
      install/meshcentral-v5-install.sh
  36. 1 1
      install/motioneye-v5-install.sh
  37. 1 1
      install/mqtt-v5-install.sh
  38. 1 1
      install/n8n-v5-install.sh
  39. 1 1
      install/navidrome-v5-install.sh
  40. 1 1
      install/nextcloudpi-v5-install.sh
  41. 1 1
      install/nginxproxymanager-v5-install.sh
  42. 1 1
      install/nocodb-v5-install.sh
  43. 1 1
      install/node-red-v5-install.sh
  44. 1 1
      install/omada-v5-install.sh
  45. 1 1
      install/omv-v5-install.sh
  46. 1 1
      install/openhab-v5-install.sh
  47. 1 1
      install/paperless-ngx-v5-install.sh
  48. 1 1
      install/photoprism-v5-install.sh
  49. 1 1
      install/pihole-v5-install.sh
  50. 1 1
      install/plex-v5-install.sh
  51. 1 1
      install/podman-homeassistant-v5-install.sh
  52. 1 1
      install/podman-v5-install.sh
  53. 1 1
      install/postgresql-v5-install.sh
  54. 1 1
      install/prometheus-v5-install.sh
  55. 1 1
      install/prowlarr-v5-install.sh
  56. 1 1
      install/radarr-v5-install.sh
  57. 1 1
      install/readarr-v5-install.sh
  58. 1 1
      install/sabnzbd-v5-install.sh
  59. 1 1
      install/scrypted-v5-install.sh
  60. 1 1
      install/shinobi-v5-install.sh
  61. 1 1
      install/sonarr-v5-install.sh
  62. 1 1
      install/syncthing-v5-install.sh
  63. 1 1
      install/tdarr-v5-install.sh
  64. 1 1
      install/technitiumdns-v5-install.sh
  65. 1 1
      install/transmission-v5-install.sh
  66. 1 1
      install/trilium-v5-install.sh
  67. 1 1
      install/ubuntu-v5-install.sh
  68. 1 1
      install/umbrel-v5-install.sh
  69. 1 1
      install/unifi-v5-install.sh
  70. 1 1
      install/uptimekuma-v5-install.sh
  71. 1 1
      install/vaultwarden-v5-install.sh
  72. 1 1
      install/whisparr-v5-install.sh
  73. 1 1
      install/whoogle-v5-install.sh
  74. 1 1
      install/wikijs-v5-install.sh
  75. 1 1
      install/wireguard-v5-install.sh
  76. 1 1
      install/yunohost-v5-install.sh
  77. 1 1
      install/zigbee2mqtt-v5-install.sh
  78. 1 1
      install/zwave-js-ui-v5-install.sh

+ 1 - 1
install/adguard-v5-install.sh

@@ -96,7 +96,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/audiobookshelf-v5-install.sh

@@ -94,7 +94,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/autobrr-v5-install.sh

@@ -115,7 +115,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/blocky-v5-install.sh

@@ -348,7 +348,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/casaos-v5-install.sh

@@ -104,7 +104,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/changedetection-v5-install.sh

@@ -108,7 +108,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/cronicle-v5-install.sh

@@ -114,7 +114,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/daemonsync-v5-install.sh

@@ -93,7 +93,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/dashy-v5-install.sh

@@ -124,7 +124,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/debian-v5-install.sh

@@ -86,7 +86,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/deconz-v5-install.sh

@@ -117,7 +117,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/deluge-v5-install.sh

@@ -131,7 +131,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/docker-v5-install.sh

@@ -148,7 +148,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/emby-v5-install.sh

@@ -107,7 +107,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/emqx-v5-install.sh

@@ -92,7 +92,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/esphome-v5-install.sh

@@ -113,7 +113,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/grafana-v5-install.sh

@@ -100,7 +100,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/grocy-v5-install.sh

@@ -130,7 +130,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/heimdalldashboard-v5-install.sh

@@ -124,7 +124,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/homeassistant-core-v5-install.sh

@@ -166,7 +166,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/homeassistant-v5-install.sh

@@ -151,7 +151,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/homebridge-v5-install.sh

@@ -103,7 +103,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/homepage-v5-install.sh

@@ -123,7 +123,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/homer-v5-install.sh

@@ -112,7 +112,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/hyperion-v5-install.sh

@@ -97,7 +97,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/influxdb-v5-install.sh

@@ -126,7 +126,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/iobroker-v5-install.sh

@@ -91,7 +91,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/jellyfin-v5-install.sh

@@ -131,7 +131,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/k0s-v5-install.sh

@@ -107,7 +107,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/kavita-v5-install.sh

@@ -113,7 +113,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/keycloak-v5-install.sh

@@ -110,7 +110,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/lidarr-v5-install.sh

@@ -117,7 +117,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/magicmirror-v5-install.sh

@@ -212,7 +212,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
         msg_info "Customizing Container"
         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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/mariadb-v5-install.sh

@@ -108,7 +108,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/meshcentral-v5-install.sh

@@ -102,7 +102,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/motioneye-v5-install.sh

@@ -121,7 +121,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/mqtt-v5-install.sh

@@ -98,7 +98,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/n8n-v5-install.sh

@@ -113,7 +113,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/navidrome-v5-install.sh

@@ -141,7 +141,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/nextcloudpi-v5-install.sh

@@ -93,7 +93,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/nginxproxymanager-v5-install.sh

@@ -245,7 +245,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/nocodb-v5-install.sh

@@ -120,7 +120,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/node-red-v5-install.sh

@@ -123,7 +123,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/omada-v5-install.sh

@@ -97,7 +97,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/omv-v5-install.sh

@@ -109,7 +109,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/openhab-v5-install.sh

@@ -108,7 +108,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/paperless-ngx-v5-install.sh

@@ -262,7 +262,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
 	msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/photoprism-v5-install.sh

@@ -181,7 +181,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/pihole-v5-install.sh

@@ -114,7 +114,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/plex-v5-install.sh

@@ -111,7 +111,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/podman-homeassistant-v5-install.sh

@@ -113,7 +113,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/podman-v5-install.sh

@@ -92,7 +92,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/postgresql-v5-install.sh

@@ -215,7 +215,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/prometheus-v5-install.sh

@@ -122,7 +122,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/prowlarr-v5-install.sh

@@ -115,7 +115,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/radarr-v5-install.sh

@@ -115,7 +115,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/readarr-v5-install.sh

@@ -115,7 +115,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/sabnzbd-v5-install.sh

@@ -120,7 +120,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/scrypted-v5-install.sh

@@ -180,7 +180,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/shinobi-v5-install.sh

@@ -149,7 +149,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/sonarr-v5-install.sh

@@ -96,7 +96,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/syncthing-v5-install.sh

@@ -99,7 +99,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/tdarr-v5-install.sh

@@ -142,7 +142,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/technitiumdns-v5-install.sh

@@ -94,7 +94,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/transmission-v5-install.sh

@@ -94,7 +94,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/trilium-v5-install.sh

@@ -116,7 +116,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/ubuntu-v5-install.sh

@@ -87,7 +87,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/umbrel-v5-install.sh

@@ -105,7 +105,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/unifi-v5-install.sh

@@ -100,7 +100,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/uptimekuma-v5-install.sh

@@ -120,7 +120,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/vaultwarden-v5-install.sh

@@ -177,7 +177,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/whisparr-v5-install.sh

@@ -115,7 +115,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/whoogle-v5-install.sh

@@ -109,7 +109,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/wikijs-v5-install.sh

@@ -137,7 +137,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/wireguard-v5-install.sh

@@ -109,7 +109,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/yunohost-v5-install.sh

@@ -96,7 +96,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
   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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/zigbee2mqtt-v5-install.sh

@@ -136,7 +136,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)

+ 1 - 1
install/zwave-js-ui-v5-install.sh

@@ -112,7 +112,7 @@ echo "export TERM='xterm-256color'" >>/root/.bashrc
 if ! getent shadow root | grep -q "^root:[^\!*]"; then
   msg_info "Customizing Container"
 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
+if [ "$OS" == "debian" ]; then rm -rf /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)