diff options
Diffstat (limited to 'data/live-build-config/hooks/live')
4 files changed, 11 insertions, 10 deletions
diff --git a/data/live-build-config/hooks/live/02-issue.chroot b/data/live-build-config/hooks/live/02-issue.chroot deleted file mode 100755 index 732ebeb0..00000000 --- a/data/live-build-config/hooks/live/02-issue.chroot +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -echo I: Rewriting /etc/issue and /etc/issue.net -cat <<EOF > etc/issue -Welcome to VyOS - \n \l - -EOF -cat <<EOF > etc/issue.net -Welcome to VyOS -EOF diff --git a/data/live-build-config/hooks/live/18-enable-disable_services.chroot b/data/live-build-config/hooks/live/18-enable-disable_services.chroot index ee3b38bf..a67d8c2e 100755 --- a/data/live-build-config/hooks/live/18-enable-disable_services.chroot +++ b/data/live-build-config/hooks/live/18-enable-disable_services.chroot @@ -51,6 +51,7 @@ systemctl disable ndppd.service systemctl disable ipsec.service systemctl disable strongswan-starter.service systemctl disable avahi-daemon.service +systemctl disable atop-rotate.timer echo I: Enabling services systemctl enable ssh-session-cleanup.service diff --git a/data/live-build-config/hooks/live/22-rm_cron_atop.chroot b/data/live-build-config/hooks/live/22-rm_cron_atop.chroot new file mode 100755 index 00000000..7f77e1f7 --- /dev/null +++ b/data/live-build-config/hooks/live/22-rm_cron_atop.chroot @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ -f /etc/cron.d/atop ]; then + rm -f /etc/cron.d/atop +fi + diff --git a/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot b/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot new file mode 100755 index 00000000..9d8dc97e --- /dev/null +++ b/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot @@ -0,0 +1,4 @@ +#!/bin/sh +if [ -f /etc/update-motd.d/10-uname ]; then + rm -f /etc/update-motd.d/10-uname +fi |