summaryrefslogtreecommitdiff
path: root/tools/dell/90-vep.chroot
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-12-04 20:16:02 +0100
committerKim Hagen <kim.sidney@gmail.com>2019-12-24 15:20:29 +0100
commitaf3bcd37401865b7b54e7614a861910f0a1e5b82 (patch)
tree638aa64392b1548903c51851f9528fe1982fda6a /tools/dell/90-vep.chroot
parent84673018337359cca686621ffdbc38ac81bf6641 (diff)
downloadvyos-build-af3bcd37401865b7b54e7614a861910f0a1e5b82.tar.gz
vyos-build-af3bcd37401865b7b54e7614a861910f0a1e5b82.zip
add support for vep1400
Diffstat (limited to 'tools/dell/90-vep.chroot')
-rwxr-xr-xtools/dell/90-vep.chroot16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/dell/90-vep.chroot b/tools/dell/90-vep.chroot
new file mode 100755
index 00000000..a88a7de1
--- /dev/null
+++ b/tools/dell/90-vep.chroot
@@ -0,0 +1,16 @@
+#!/bin/sh
+echo I: Change the default serial baud rate.
+sed -i 's/9600/115200/g' /opt/vyatta/etc/config-migrate/migrate/system/3-to-4
+
+echo "ShowStatus=yes" >> /etc/systemd/system.conf
+
+echo I: Disable default link rule.
+rm /lib/systemd/network/99-default.link
+touch /lib/systemd/network/99-default.link
+rm /lib/udev/rules.d/65-vyatta-net.rules
+touch /lib/udev/rules.d/65-vyatta-net.rules
+rm /lib/udev/rules.d/75-persistent-net-generator.rules
+touch /lib/udev/rules.d/75-persistent-net-generator.rules
+
+echo I: Update initramfs.
+update-initramfs -u