summaryrefslogtreecommitdiff
path: root/tools/vep4600/90-vep4600.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vep4600/90-vep4600.chroot')
-rwxr-xr-xtools/vep4600/90-vep4600.chroot14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/vep4600/90-vep4600.chroot b/tools/vep4600/90-vep4600.chroot
new file mode 100755
index 00000000..c4bb7496
--- /dev/null
+++ b/tools/vep4600/90-vep4600.chroot
@@ -0,0 +1,14 @@
+#!/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
+
+echo I: Update initramfs.
+update-initramfs -u