403Webshell
Server IP : 104.21.4.30  /  Your IP : 104.23.243.245
Web Server : Apache
System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : simottodesign.com_2tntp341vs7 ( 10011)
PHP Version : 8.3.31
Disable Function : opcache_get_status
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/drweb-daemon.postinst
#!/bin/sh
# ESP Package Manager v6.0.2 Dr.Web Edition
if ! [ -f /etc/drweb/monitor/daemon.mmc ]; then
    cp /opt/drweb/doc/daemon/daemon.mmc /etc/drweb/monitor/
fi
if ! [ -f /etc/drweb/templates/drwebd/msg.tmpl ]; then
    cp /opt/drweb/doc/daemon/msg.tmpl /etc/drweb/templates/drwebd/msg.tmpl
fi
make_symlink() {
    if test -e "$1" -a ! -e "$2" ; then
        ln -s "$1" "$2"
    fi
}
create_man_symlinks() {
    prefix=$1
    mans=$2
    for mandir in $prefix/man/man* ; do
        #get result man prefix
        for dir in /usr/local/share/man /usr/share/man ; do
            if [ -d "$dir/`basename $mandir`" ] ; then
                man_dst="$dir/`basename $mandir`"
                break
            fi
        done
        for man in $mans ; do
            make_symlink "$mandir/$man" "$man_dst/$man"
        done
    done
}

create_man_symlinks /opt/drweb "drwebd.1 drwebdc.1" "$MANS"
update-rc.d drwebd defaults
if which invoke-rc.d >/dev/null 2>&1; then
    invoke-rc.d drwebd start || true
else
    /etc/init.d/drwebd start || true
fi

Youez - 2016 - github.com/yon3zu
LinuXploit