PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: init.ipv6-global Size: 5.29 KB
//etc/sysconfig/network-scripts/init.ipv6-global

#!/bin/bash
#
# init.ipv6-global
#
#
# Taken from: init.ipv6-global
# (P) & (C) 2001-2005 by Peter Bieringer <pb@bieringer.de>
#
#  You will find more information on the initscripts-ipv6 homepage at
#   http://www.deepspace6.net/projects/initscripts-ipv6.html
#
# RHL integration assistance by Pekka Savola <pekkas@netcore.fi>
#
# Version: 2005-01-04
#
# Calling parameters:
#  $1: action (currently supported: start|stop|showsysctl)
#  $2: position for start|stop (currently supported: pre|post)
#
# Called by hooks from /etc/[rc.d/]init.d/network
#
# Uses following information from /etc/sysconfig/network:
#  IPV6FORWARDING=yes|no: controls global IPv6 forwarding (default: no)
#  IPV6_AUTOCONF=yes|no: controls global automatic IPv6 configuration
#   (default: yes if IPV6FORWARDING=no, no if IPV6FORWARDING=yes)
#  IPV6_AUTOTUNNEL=yes|no: controls automatic IPv6 tunneling (default: no)
#  IPV6_DEFAULTGW=<ipv6address[%interface]> [optional]
#  IPV6_DEFAULTDEV=<interface> [optional]
#

. /etc/sysconfig/network

cd /etc/sysconfig/network-scripts
. ./network-functions

# Get action and hook position
ACTION="$1"
POSITION="$2"

[ -f /etc/sysconfig/network-scripts/network-functions-ipv6 ] || exit 1
. /etc/sysconfig/network-scripts/network-functions-ipv6

# Initialize IPv6, depending on caller option
case $ACTION in
start)
    case $POSITION in
    pre)
        # IPv6 test, module loaded, exit if system is not IPv6-ready
        ipv6_test || exit 1

        if [ "$IPV6FORWARDING" = "yes" ]; then
            ipv6_global_forwarding=1
            ipv6_global_auto=0
        else
            ipv6_global_forwarding=0
            if [ "$IPV6_AUTOCONF" = "no" ]; then
                ipv6_global_auto=0
            else
                ipv6_global_auto=1
            fi
        fi

        if [ ! "$IPV6_SET_SYSCTLS" = "no" ]; then
            # Reset IPv6 sysctl switches for "all", "default" and still existing devices
            for i in /proc/sys/net/ipv6/conf/* ; do
                interface=${i##*/}
                sinterface=${interface/.//}
                # Host/Router behaviour for the interface
                /sbin/sysctl -e -w net.ipv6.conf.$sinterface.forwarding=$ipv6_global_forwarding >/dev/null 2>&1

                # Autoconfiguration and redirect handling for Hosts
                /sbin/sysctl -e -w net.ipv6.conf.$sinterface.accept_ra=$ipv6_global_auto >/dev/null 2>&1
                /sbin/sysctl -e -w net.ipv6.conf.$sinterface.accept_redirects=$ipv6_global_auto >/dev/null 2>&1
            done
        fi
        ;;

    post)
        # IPv6 test, module loaded, exit if system is not IPv6-ready
        ipv6_test || exit 1

        if [ "$IPV6_AUTOTUNNEL" = "yes" ]; then
            ipv6_enable_autotunnel
            # autotunnel interface doesn't require a MTU setup
        fi

        ## Add some routes which should never appear on the wire
        # Unreachable IPv4-only addresses, normally blocked by source address selection
        /sbin/ip route add unreach    ::ffff:0.0.0.0/96
        # Unreachable IPv4-mapped addresses
        /sbin/ip route add unreach    ::0.0.0.0/96
        # Unreachable 6to4: IPv4 multicast, reserved, limited broadcast
        /sbin/ip route add unreach    2002:e000::/19
        # Unreachable 6to4: IPv4 loopback
        /sbin/ip route add unreach    2002:7f00::/24
        # Unreachable 6to4: IPv4 private (RFC 1918)
        /sbin/ip route add unreach    2002:0a00::/24
        /sbin/ip route add unreach    2002:ac10::/28
        /sbin/ip route add unreach    2002:c0a8::/32
        # Unreachable 6to4: IPv4 private (APIPA / DHCP link-local)
        /sbin/ip route add unreach    2002:a9fe::/32
        # Unreachable IPv6: 6bone test addresses
        /sbin/ip route add unreach    3ffe:ffff::/32

        # Set default route for autotunnel, if specified
        if [ "$IPV6_DEFAULTDEV" = "sit0" -a "$IPV6_AUTOTUNNEL" = "yes" ]; then
            if [ -n "$IPV6_DEFAULTGW" ]; then
                ipv6_set_default_route $IPV6_DEFAULTGW $IPV6_DEFAULTDEV sit0
            elif [ -n "$IPV6_DEFAULTDEV" ]; then
                ipv6_set_default_route "" $IPV6_DEFAULTDEV sit0
            fi
        fi
        ;;

    *)
        echo "Usage: $0 $1 {pre|post}"
        ;;

    esac
    ;;

stop)
    case $POSITION in
    pre)
        ;;

    post)
        # IPv6 test, no module loaded, exit if system is not IPv6-ready
        ipv6_test testonly || exit 0

        if [ ! "$IPV6_SET_SYSCTLS" = "no" ]; then
            for i in /proc/sys/net/ipv6/conf/* ; do
                interface=${i##*/}
                sinterface=${interface/.//}
                # Assume Host behaviour
                /sbin/sysctl -e -w net.ipv6.conf.$sinterface.forwarding=0 >/dev/null 2>&1

                # Disable autoconfiguration and redirects
                /sbin/sysctl -e -w net.ipv6.conf.$sinterface.accept_ra=0 >/dev/null 2>&1
                /sbin/sysctl -e -w net.ipv6.conf.$sinterface.accept_redirects=0 >/dev/null 2>&1
            done
        fi

        # Cleanup still existing tunnel devices
        ipv6_cleanup_tunnel_devices

        # Shut down generic tunnel interface now
        if ipv6_test_device_status sit0 ; then
            /sbin/ip link set sit0 down
        fi
        ;;

    *)
        echo "Usage: $0 $1 {pre|post}"
        ;;

    esac
    ;;

*)
    echo $"Usage: $0 {start|stop|reload|restart|showsysctl}"
    exit 1
    ;;
esac

Directory Contents

Dirs: 0 × Files: 34

Name Size Perms Modified Actions
221 B lrw-r--r-- 2025-04-11 00:15:01
Edit Download
254 B lrw-r--r-- 2025-09-23 08:27:35
Edit Download
2.07 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
646 B lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
6.27 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
769 B lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
4.43 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
769 B lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
2.02 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
870 B lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
1.42 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
1.58 KB lrwxr-xr-x 2020-07-26 09:58:14
Edit Download
1.52 KB lrwxr-xr-x 2020-07-26 09:58:14
Edit Download
1.43 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
5.33 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
11.98 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
906 B lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
13.45 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
11.79 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
11.61 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
11.79 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
643 B lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
1.03 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
4.88 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
2.37 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
3.23 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
1.71 KB lrwxr-xr-x 2020-07-26 09:58:14
Edit Download
1.83 KB lrwxr-xr-x 2020-07-26 09:58:14
Edit Download
2.81 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
1.79 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
5.29 KB lrwxr-xr-x 2025-09-23 08:27:35
Edit Download
19.95 KB lrw-r--r-- 2025-09-23 08:27:35
Edit Download
30.31 KB lrw-r--r-- 2025-09-23 08:27:35
Edit Download
52 B lrw-r--r-- 2025-04-11 00:15:37
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI