summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-21 23:14:42 +0200
committerChristian Breunig <christian@breunig.cc>2023-05-21 23:15:31 +0200
commit959b0b111d04e05fda016194c293a3c7ce3a68fd (patch)
tree2f4a7810c0107bffd24b22e88110cc032485d02b /debian
parenta32792a6fb92b0ac10c4f48b04babf48db3c944f (diff)
downloadvyos-1x-959b0b111d04e05fda016194c293a3c7ce3a68fd.tar.gz
vyos-1x-959b0b111d04e05fda016194c293a3c7ce3a68fd.zip
T5234: add bash prompt identifier for given VRF instance
Diffstat (limited to 'debian')
-rw-r--r--debian/vyos-1x.install1
-rw-r--r--debian/vyos-1x.preinst14
2 files changed, 9 insertions, 6 deletions
diff --git a/debian/vyos-1x.install b/debian/vyos-1x.install
index 2b04f173b..07cdf8c74 100644
--- a/debian/vyos-1x.install
+++ b/debian/vyos-1x.install
@@ -9,6 +9,7 @@ etc/ppp
etc/rsyslog.conf
etc/securetty
etc/security
+etc/skel
etc/sudoers.d
etc/systemd
etc/sysctl.d
diff --git a/debian/vyos-1x.preinst b/debian/vyos-1x.preinst
index 58f24cb5a..949ffcbc4 100644
--- a/debian/vyos-1x.preinst
+++ b/debian/vyos-1x.preinst
@@ -1,6 +1,8 @@
-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
-dpkg-divert --package vyos-1x --add --rename /etc/logrotate.d/conntrackd
-dpkg-divert --package vyos-1x --add --rename /usr/share/pam-configs/radius
-dpkg-divert --package vyos-1x --add --rename /etc/rsyslog.conf
+dpkg-divert --package vyos-1x --add --no-rename /etc/securetty
+dpkg-divert --package vyos-1x --add --no-rename /etc/security/capability.conf
+dpkg-divert --package vyos-1x --add --no-rename /lib/systemd/system/lcdproc.service
+dpkg-divert --package vyos-1x --add --no-rename /etc/logrotate.d/conntrackd
+dpkg-divert --package vyos-1x --add --no-rename /usr/share/pam-configs/radius
+dpkg-divert --package vyos-1x --add --no-rename /etc/rsyslog.conf
+dpkg-divert --package vyos-1x --add --no-rename /etc/skel/.bashrc
+dpkg-divert --package vyos-1x --add --no-rename /etc/skel/.profile