403Webshell
Server IP : 80.241.246.6  /  Your IP : 216.73.216.188
Web Server : Apache/2.4.25 (Debian)
System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User : www-data ( 33)
PHP Version : 7.0.33-0+deb9u12
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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 : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/util-linux.postinst
#!/bin/sh
set -e

update-alternatives --install /usr/bin/pager pager /bin/more 50 \
	--slave /usr/share/man/man1/pager.1.gz pager.1.gz \
	/usr/share/man/man1/more.1.gz
update-alternatives --install /usr/bin/pager pager /usr/bin/pg 10 \
	--slave /usr/share/man/man1/pager.1.gz pager.1.gz \
	/usr/share/man/man1/pg.1.gz

# hwclock works on all Linux architectures, except s390 (and s390x, of course).
if [ "$(uname -s)" = "Linux" ]; then
	model=$(uname -m)
	if [ ${model%x} != "s390" ]; then
		# work around that initscripts package might still be
		# in "unpacked" (not yet configured) state and insserv
		# will fail on hwclock.sh if Required scripts are not
		# processed yet. See http://bugs.debian.org/823665
		# (We can't add initscripts dependency to util-linux because
		# that would introduce a dependency cycle via
		# sysvinit-utils<->initscripts<->util-linux
		# because of Depends/Breaks relations. Ideally the hwclock.sh
		# scripts should just be moved over to initscripts pkg, but
		# moving conffiles between packages is problematic.)
		if dpkg-query -W --showformat '${Status}\n' initscripts | grep -q unpacked ; then
			if [ -x /etc/init.d/mountkernfs.sh ]; then
				update-rc.d mountkernfs.sh         defaults >/dev/null || exit $?
			fi
			if [ -x /etc/init.d/mountdevsubfs.sh ]; then
				update-rc.d mountdevsubfs.sh       defaults >/dev/null || exit $?
			fi
		fi

		update-rc.d -f hwclock.sh remove >/dev/null 2>&1 || true
		update-rc.d hwclock.sh defaults > /dev/null
	fi
fi



Youez - 2016 - github.com/yon3zu
LinuXploit