diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-11-05 14:09:41 +0100 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2019-11-05 14:09:41 +0100 |
commit | 2ec7f9b30676d0eb2792311e6be969006aeb9a06 (patch) | |
tree | 268545cb6b11e0c1ffae1a24fba89cdfe4042d1a /tools/vep4600/90-vep4600.chroot | |
parent | ef8d9f1ef6553801cbba3ff19e3944f926ba9c79 (diff) | |
download | vyos-build-2ec7f9b30676d0eb2792311e6be969006aeb9a06.tar.gz vyos-build-2ec7f9b30676d0eb2792311e6be969006aeb9a06.zip |
add build option for vep4600
Diffstat (limited to 'tools/vep4600/90-vep4600.chroot')
-rwxr-xr-x | tools/vep4600/90-vep4600.chroot | 14 |
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 |