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 | |
parent | ef8d9f1ef6553801cbba3ff19e3944f926ba9c79 (diff) | |
download | vyos-build-2ec7f9b30676d0eb2792311e6be969006aeb9a06.tar.gz vyos-build-2ec7f9b30676d0eb2792311e6be969006aeb9a06.zip |
add build option for vep4600
Diffstat (limited to 'tools')
-rw-r--r-- | tools/vep4600/10-eth0.link | 5 | ||||
-rw-r--r-- | tools/vep4600/10-eth1.link | 5 | ||||
-rw-r--r-- | tools/vep4600/10-eth2.link | 5 | ||||
-rw-r--r-- | tools/vep4600/10-eth3.link | 5 | ||||
-rw-r--r-- | tools/vep4600/10-eth4.link | 5 | ||||
-rw-r--r-- | tools/vep4600/10-eth5.link | 5 | ||||
-rw-r--r-- | tools/vep4600/10-eth6.link | 5 | ||||
-rwxr-xr-x | tools/vep4600/90-vep4600.chroot | 14 | ||||
-rw-r--r-- | tools/vep4600/99-default.link | 0 |
9 files changed, 49 insertions, 0 deletions
diff --git a/tools/vep4600/10-eth0.link b/tools/vep4600/10-eth0.link new file mode 100644 index 00000000..0885fd8b --- /dev/null +++ b/tools/vep4600/10-eth0.link @@ -0,0 +1,5 @@ +[Match] +Path=pci-0000:04:* + +[Link] +Name=eth0 diff --git a/tools/vep4600/10-eth1.link b/tools/vep4600/10-eth1.link new file mode 100644 index 00000000..9d33db13 --- /dev/null +++ b/tools/vep4600/10-eth1.link @@ -0,0 +1,5 @@ +[Match] +Path=0000:b8:00.0 + +[Link] +Name=eth1 diff --git a/tools/vep4600/10-eth2.link b/tools/vep4600/10-eth2.link new file mode 100644 index 00000000..60b88f83 --- /dev/null +++ b/tools/vep4600/10-eth2.link @@ -0,0 +1,5 @@ +[Match] +Path=0000:b8:00.1 + +[Link] +Name=eth2 diff --git a/tools/vep4600/10-eth3.link b/tools/vep4600/10-eth3.link new file mode 100644 index 00000000..0c37c8d4 --- /dev/null +++ b/tools/vep4600/10-eth3.link @@ -0,0 +1,5 @@ +[Match] +Path=pci-0000:02:00.1 + +[Link] +Name=eth3 diff --git a/tools/vep4600/10-eth4.link b/tools/vep4600/10-eth4.link new file mode 100644 index 00000000..7762187a --- /dev/null +++ b/tools/vep4600/10-eth4.link @@ -0,0 +1,5 @@ +[Match] +Path=pci-0000:02:00.0 + +[Link] +Name=eth4 diff --git a/tools/vep4600/10-eth5.link b/tools/vep4600/10-eth5.link new file mode 100644 index 00000000..10099488 --- /dev/null +++ b/tools/vep4600/10-eth5.link @@ -0,0 +1,5 @@ +[Match] +Path=pci-0000:02:00.3 + +[Link] +Name=eth5 diff --git a/tools/vep4600/10-eth6.link b/tools/vep4600/10-eth6.link new file mode 100644 index 00000000..f3a6fe00 --- /dev/null +++ b/tools/vep4600/10-eth6.link @@ -0,0 +1,5 @@ +[Match] +Path=pci-0000:02:00.2 + +[Link] +Name=eth6 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 diff --git a/tools/vep4600/99-default.link b/tools/vep4600/99-default.link new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tools/vep4600/99-default.link |