summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-26 22:53:25 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-26 22:53:25 +0200
commit0f6ec4722215c1d6692a6513c1cd60973f2d289d (patch)
tree97adf21ac138fb583c09952332602db9db29f111 /debian
parent87c7a1243e0b643f1d15acd13ed79b98633acb3a (diff)
downloadvyos-1x-0f6ec4722215c1d6692a6513c1cd60973f2d289d.tar.gz
vyos-1x-0f6ec4722215c1d6692a6513c1cd60973f2d289d.zip
Import configuration files from vyatta-cfg-system
Diffstat (limited to 'debian')
-rw-r--r--debian/vyos-1x-vmware.preinst1
-rw-r--r--debian/vyos-1x.install2
-rw-r--r--debian/vyos-1x.preinst3
3 files changed, 6 insertions, 0 deletions
diff --git a/debian/vyos-1x-vmware.preinst b/debian/vyos-1x-vmware.preinst
new file mode 100644
index 000000000..2e612522c
--- /dev/null
+++ b/debian/vyos-1x-vmware.preinst
@@ -0,0 +1 @@
+dpkg-divert --package vyos-1x-vmware --add --rename /etc/vmware-tools/tools.conf
diff --git a/debian/vyos-1x.install b/debian/vyos-1x.install
index 07827650b..2ed25755f 100644
--- a/debian/vyos-1x.install
+++ b/debian/vyos-1x.install
@@ -4,6 +4,8 @@ etc/ipsec.d
etc/netplug
etc/opennhrp
etc/rsyslog.d
+etc/securetty
+etc/security
etc/sudoers.d
etc/systemd
etc/sysctl.d
diff --git a/debian/vyos-1x.preinst b/debian/vyos-1x.preinst
index 009fd22a2..45440bf64 100644
--- a/debian/vyos-1x.preinst
+++ b/debian/vyos-1x.preinst
@@ -1 +1,4 @@
+dpkg-divert --package vyos-1x --add --rename /etc/securetty
+dpkg-divert --package vyos-1x --add --rename /etc/security/capability.conf
dpkg-divert --package vyos-1x --add --rename /lib/systemd/system/lcdproc.service
+