????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/isc-dhcp-client.preinst
#!/bin/sh

set -e

case "$1" in
    install|upgrade)
        # Upgrade old lucid configs
        if [ -e /etc/dhcp/dhclient.conf ] && [ $(md5sum /etc/dhcp/dhclient.conf | cut -f1 -d ' ') = 5e012287a1dcf058b3fea4c5bf0bd95a ]; then
            sed -i -e '/host-name "<hostname>"/i #send host-name "andare.fugue.com";' \
                -e 's/host-name "<hostname>"/host-name = gethostname()/' \
                -e '/domain-search, host-name,$/a \
	dhcp6.name-servers, dhcp6.domain-search,' \
                -e '/ntp-servers;$/a \
	dhcp6.fqdn, dhcp6.sntp-servers;' \
                -e 's/ntp-servers;$/ntp-servers,/' \
                /etc/dhcp/dhclient.conf
        fi

    	# if the /etc/dhclient.conf from dhcp-client was modified, 
	# bring it forward to /etc/dhcp3/dhclient.conf, but in a way not
	# to upset dpkg about a changed conffile
        if [ ! -e /etc/dhcp3/dhclient.conf ] && [ -e /etc/dhclient.conf ] && \
	    ! >/dev/null 2>&1 md5sum -c - <<-EOF; then
		10830c7543724cfd36f10dd87a5f98eb  /etc/dhclient.conf
		EOF
		mkdir -p /etc/dhcp3
		cp /etc/dhclient.conf /etc/dhcp3/dhclient.conf.oldconfig
        fi

	# handle lingering dhclient.conf from lenny (this can be safely removed
	# after the wheezy release)
	if [ -e /etc/dhcp/dhclient.conf ] && \
		[ "`md5sum /etc/dhcp/dhclient.conf  | awk '{print $1;}'`" = 6e3910d75cd5cde0042ecb6d48492ae9 ]; then
		sed -i -e 's/rfc3442-classless-static-routes;/rfc3442-classless-static-routes, ntp-servers;/' /etc/dhcp/dhclient.conf
	fi

	# We renamed debug-enter to debug - handle the transition
	if [ ! -e /etc/dhcp3/dhclient-enter-hooks.d/debug ] && \
	      [ -e /etc/dhcp3/dhclient-enter-hooks.d/debug-enter ]; then
		mv /etc/dhcp3/dhclient-enter-hooks.d/debug-enter \
		   /etc/dhcp3/dhclient-enter-hooks.d/debug
	else
	    rm -f /etc/dhcp3/dhclient-enter-hooks.d/debug-enter
	fi

	# We renamed debug-exit to debug - handle the transition
	if [ ! -e /etc/dhcp3/dhclient-exit-hooks.d/debug ] && \
	      [ -e /etc/dhcp3/dhclient-exit-hooks.d/debug-exit ]; then
		mv /etc/dhcp3/dhclient-exit-hooks.d/debug-exit \
		   /etc/dhcp3/dhclient-exit-hooks.d/debug
	else
	    rm -f /etc/dhcp3/dhclient-exit-hooks.d/debug-exit
	fi

	# We moved /etc/dhcp3/dhclient-script to /sbin in 3.0.4-2
	if dpkg --compare-versions "$2" lt-nl "3.0.4-2"; then
		if [ -e /etc/dhcp3/dhclient-script ]; then
			if >/dev/null 2>&1 md5sum -c - <<-EOF; then
			2b18b5c59b26d00aa115716b3da2ed26  /etc/dhcp3/dhclient-script
			EOF
				rm -f /etc/dhcp3/dhclient-script
			fi
		fi
	fi
        ;;

    abort-upgrade)
        ;;

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

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.



exit 0



Youez - 2016 - github.com/yon3zu
LinuXploit