%PDF- %PDF-
Direktori : /snap/core20/current/usr/share/initramfs-tools/hooks/ |
Current File : //snap/core20/current/usr/share/initramfs-tools/hooks/zz-dhclient |
#!/bin/sh PREREQ="" prereqs() { echo "$PREREQ" } case $1 in prereqs) prereqs exit 0 ;; esac if [ ! -x /sbin/dhclient ]; then exit 0 fi . /usr/share/initramfs-tools/scripts/functions . /usr/share/initramfs-tools/hook-functions copy_exec /bin/run-parts copy_exec /sbin/dhclient copy_exec /sbin/dhclient-script cp -a /usr/lib/initramfs-tools/etc/dhcp/ $DESTDIR/etc/dhcp/ copy_exec /etc/dhcp/dhclient-exit-hooks.d/rfc3442-classless-routes mkdir -p $DESTDIR/var/lib/dhcp/