0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.15.195.108


Current Path : /proc/thread-self/root/usr/share/initramfs-tools/hooks/
Upload File :
Current File : //proc/thread-self/root/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/
mkdir -p $DESTDIR/var/lib/dhcp/