HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, 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
Upload Files
File: //var/lib/dpkg/info/autofs.postinst
#!/bin/sh
set -e

if [ "$1" = "configure" ]; then
  for file in auto.master auto.net auto.misc auto.smb autofs.conf default/autofs; do
    # transfer ownership from old autofs5 package
    case "`ucfq -w /etc/$file`" in
      *:autofs5:*) force=--force ;;
      *) force= ;;
    esac
    ucfr $force autofs /etc/$file
    ucf /usr/share/autofs/conffiles/$file /etc/$file
  done
fi

# In version 5.0.6 (wheezy), the package has been renamed
# from autofs5 to autofs.  We properly Breaks/Replaces the old package,
# and dummy/transitional `autofs5' is also provided, so regular upgrades
# and new installs works.  But when a system had old autofs5 installed
# and the user installs new autofs manually, the system ends up having
# config files of old autofs5, together with maintainer scripts, and
# this new autofs package.  We need to ensure that old autofs5 package
# can be purged, but its maintscripts tries to deregister/remove
# ucf-controlled files, -- the same as we maintain above.  We must stop
# it from doing so, and the only way we currently know to do that is to
# REMOVE old package's maintscripts to stop it from being executed.
# Suggested by Ben Hutchings and Steve Langasek.  #686146
if [ "$1" = configure ]; then
  if postrm="$(dpkg-query -c autofs5 postrm 2>/dev/null)" && [ -n "$postrm" ]
  then
    rm -f "$postrm"
  fi
fi

# Automatically added by dh_systemd_enable
# This will only remove masks created by d-s-h on package removal.
deb-systemd-helper unmask autofs.service >/dev/null || true

# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled autofs.service; then
	# Enables the unit on first installation, creates new
	# symlinks on upgrades if the unit file has changed.
	deb-systemd-helper enable autofs.service >/dev/null || true
else
	# Update the statefile to add new symlinks (if any), which need to be
	# cleaned up on purge. Also remove old symlinks.
	deb-systemd-helper update-state autofs.service >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installinit
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
	if [ -x "/etc/init.d/autofs" ]; then
		update-rc.d autofs start 19 2 3 4 5 . stop 81 0 1 6 . >/dev/null
		invoke-rc.d autofs start || exit $?
	fi
fi
# End automatically added section