diff options
Diffstat (limited to 'tools/vep4600')
-rwxr-xr-x | tools/vep4600/90-vep4600.chroot | 2 | ||||
-rwxr-xr-x | tools/vep4600/vep4600 | 17 |
2 files changed, 19 insertions, 0 deletions
diff --git a/tools/vep4600/90-vep4600.chroot b/tools/vep4600/90-vep4600.chroot index c4bb7496..a88a7de1 100755 --- a/tools/vep4600/90-vep4600.chroot +++ b/tools/vep4600/90-vep4600.chroot @@ -9,6 +9,8 @@ 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 diff --git a/tools/vep4600/vep4600 b/tools/vep4600/vep4600 new file mode 100755 index 00000000..4d9c5748 --- /dev/null +++ b/tools/vep4600/vep4600 @@ -0,0 +1,17 @@ +#!/bin/sh -e + +PREREQS="" + +prereqs() { echo "$PREREQS"; } + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + +. /usr/share/initramfs-tools/hook-functions + +mkdir -p $DESTDIR/etc/systemd/network +cp -p /etc/systemd/network/*.link $DESTDIR/etc/systemd/network/ |