%PDF- %PDF-
Mini Shell

Mini Shell

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

Zerion Mini Shell 1.0