AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 18.191.238.6


Current Path : /snap/core20/current/usr/share/initramfs-tools/hooks/
Upload File :
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/