From 53c07039b7653bc0c844fe98f65aec65734f908f Mon Sep 17 00:00:00 2001
From: Viacheslav Hletenko <v.gletenko@vyos.io>
Date: Tue, 10 May 2022 15:27:19 +0000
Subject: sshguard: T4408: Add pkg sshquard from repo buster-backports

Add repo buster-backports for pkg "sshguard"
Disable service sshquard by default
---
 data/live-build-config/archives/buster-backports.pref.chroot        | 3 +++
 data/live-build-config/hooks/live/18-enable-disable_services.chroot | 1 +
 2 files changed, 4 insertions(+)
 create mode 100644 data/live-build-config/archives/buster-backports.pref.chroot

(limited to 'data')

diff --git a/data/live-build-config/archives/buster-backports.pref.chroot b/data/live-build-config/archives/buster-backports.pref.chroot
new file mode 100644
index 00000000..4aa122ee
--- /dev/null
+++ b/data/live-build-config/archives/buster-backports.pref.chroot
@@ -0,0 +1,3 @@
+Package: sshguard
+Pin: release n=buster-backports
+Pin-Priority: 600
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 6fdf3565..fbe2abde 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
@@ -9,6 +9,7 @@ systemctl disable pmacctd.service
 systemctl disable sfacctd.service
 systemctl disable uacctd.service
 systemctl disable ssh.service
+systemctl disable sshguard.service
 systemctl disable openvpn.service
 systemctl disable lldpd.service
 systemctl disable LCDd.service
-- 
cgit v1.2.3