diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-12-04 20:16:02 +0100 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2019-12-24 15:20:29 +0100 |
commit | af3bcd37401865b7b54e7614a861910f0a1e5b82 (patch) | |
tree | 638aa64392b1548903c51851f9528fe1982fda6a /tools/dell/vep-hook | |
parent | 84673018337359cca686621ffdbc38ac81bf6641 (diff) | |
download | vyos-build-af3bcd37401865b7b54e7614a861910f0a1e5b82.tar.gz vyos-build-af3bcd37401865b7b54e7614a861910f0a1e5b82.zip |
add support for vep1400
Diffstat (limited to 'tools/dell/vep-hook')
-rwxr-xr-x | tools/dell/vep-hook | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/dell/vep-hook b/tools/dell/vep-hook new file mode 100755 index 00000000..7dcaf034 --- /dev/null +++ b/tools/dell/vep-hook @@ -0,0 +1,28 @@ +#!/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/ + +mkdir -p $DESTDIR/lib/udev/rules.d +cp -p /lib/udev/rules.d/50-firmware.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/50-udev-default.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/55-dm.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/60-cdrom_id.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/60-persistent-storage-dm.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/60-persistent-storage.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/75-net-description.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/80-drivers.rules $DESTDIR/lib/udev/rules.d/ +cp -p /lib/udev/rules.d/80-net-setup-link.rules $DESTDIR/lib/udev/rules.d/ |