File manager - Edit - /var/www/payraty/helpdesk/public/storage/branding_media/images/network.zip
Back
PK ! #�� � if-post-down.d/chronynu ȯ�� #!/bin/sh set -e [ -x /usr/sbin/chronyd ] || exit 0 if [ -e /run/chrony/chronyd.pid ]; then chronyc onoffline > /dev/null 2>&1 fi exit 0 PK ! �mX X if-pre-up.d/ethtoolnu ȯ�� #!/bin/sh ETHTOOL=/sbin/ethtool test -x $ETHTOOL || exit 0 [ "$IFACE" != "lo" ] || exit 0 # Gather together the mixed bag of settings applied with -s/--change SETTINGS="\ ${IF_ETHERNET_PORT:+ port $IF_ETHERNET_PORT}\ ${IF_DRIVER_MESSAGE_LEVEL:+ msglvl $IF_DRIVER_MESSAGE_LEVEL}\ " [ -z "$SETTINGS" ] || $ETHTOOL --change "$IFACE" $SETTINGS PK ! ~��� � if-up.d/ethtoolnu ȯ�� #!/bin/sh ETHTOOL=/sbin/ethtool test -x $ETHTOOL || exit 0 [ "$IFACE" != "lo" ] || exit 0 # Find settings with a given prefix and print them as they appeared in # /etc/network/interfaces, only with the prefix removed. # This actually prints each name and value on a separate line, but that # doesn't matter to the shell. gather_settings () { set | sed -n " /^IF_$1[A-Za-z0-9_]*=/ { h; # hold line s/^IF_$1//; s/=.*//; s/_/-/g; # get name without prefix y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/; # lower-case p; g; # restore line s/^[^=]*=//; s/^'\(.*\)'/\1/; # get value p; }" } # Gather together the mixed bag of settings applied with -s/--change SETTINGS="\ ${IF_LINK_SPEED:+ speed $IF_LINK_SPEED}\ ${IF_LINK_DUPLEX:+ duplex $IF_LINK_DUPLEX}\ " # WOL has an optional pass-key set -- $IF_ETHERNET_WOL SETTINGS="$SETTINGS${1:+ wol $1}${2:+ sopass $2}" # Autonegotiation can be on|off or an advertising mask case "$IF_ETHERNET_AUTONEG" in '') ;; on|off) SETTINGS="$SETTINGS autoneg $IF_ETHERNET_AUTONEG" ;; *) SETTINGS="$SETTINGS autoneg on advertise $IF_ETHERNET_AUTONEG" ;; esac [ -z "$SETTINGS" ] || $ETHTOOL --change "$IFACE" $SETTINGS SETTINGS="$(gather_settings ETHERNET_PAUSE_)" [ -z "$SETTINGS" ] || $ETHTOOL --pause "$IFACE" $SETTINGS SETTINGS="$(gather_settings HARDWARE_IRQ_COALESCE_)" [ -z "$SETTINGS" ] || $ETHTOOL --coalesce "$IFACE" $SETTINGS SETTINGS="$(gather_settings HARDWARE_DMA_RING_)" [ -z "$SETTINGS" ] || $ETHTOOL --set-ring "$IFACE" $SETTINGS SETTINGS="$(gather_settings OFFLOAD_)" [ -z "$SETTINGS" ] || $ETHTOOL --offload "$IFACE" $SETTINGS PK ! #�� � if-up.d/chronynu ȯ�� #!/bin/sh set -e [ -x /usr/sbin/chronyd ] || exit 0 if [ -e /run/chrony/chronyd.pid ]; then chronyc onoffline > /dev/null 2>&1 fi exit 0 PK ! � ¸ � 80-vm-vt.networknu �[��� # SPDX-License-Identifier: LGPL-2.1-or-later # # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # This network file matches vt-* TUN/TAP devices and applies a similar # configuration as ve-* to provide NAT/DHCP to VMs. [Match] Name=vt-* Driver=tun [Network] # Default to using a /28 prefix, giving up to 13 addresses per VM. Address=0.0.0.0/28 LinkLocalAddressing=yes DHCPServer=yes IPMasquerade=both LLDP=yes EmitLLDP=customer-bridge IPv6SendRA=yes PK ! ~��� � 80-container-host0.networknu �[��� # SPDX-License-Identifier: LGPL-2.1-or-later # # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # This network file matches the container-side of the virtual Ethernet link # created by systemd-nspawn's --network-veth switch. See systemd-nspawn(1) for # details. [Match] Virtualization=container Name=host0 [Network] DHCP=yes LinkLocalAddressing=yes LLDP=yes EmitLLDP=customer-bridge [DHCP] UseTimezone=yes PK ! kb!{N N 80-wifi-adhoc.networknu �[��� [Match] Type=wlan WLANInterfaceType=ad-hoc [Network] LinkLocalAddressing=yes PK ! ����� � 80-container-vz.networknu �[��� # SPDX-License-Identifier: LGPL-2.1-or-later # # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # This network file matches the bridge interface created by systemd-nspawn's # --network-zone= switch. See systemd-nspawn(1) for details. [Match] Name=vz-* Driver=bridge [Network] # Default to using a /24 prefix, giving up to 253 addresses per virtual network. Address=0.0.0.0/24 LinkLocalAddressing=yes DHCPServer=yes IPMasquerade=both LLDP=yes EmitLLDP=customer-bridge IPv6SendRA=yes PK ! ��n�� � 80-container-ve.networknu �[��� # SPDX-License-Identifier: LGPL-2.1-or-later # # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # This network file matches the host-side of the virtual Ethernet link # created by systemd-nspawn's --network-veth switch. See systemd-nspawn(1) for # details. [Match] Name=ve-* Driver=veth [Network] # Default to using a /28 prefix, giving up to 13 addresses per container. Address=0.0.0.0/28 LinkLocalAddressing=yes DHCPServer=yes IPMasquerade=both LLDP=yes EmitLLDP=customer-bridge IPv6SendRA=yes PK ! K�3, , 73-usb-net-by-mac.linknu �[��� [Match] Path=*-usb-* [Link] NamePolicy=mac PK ! ��H� � 99-default.linknu �[��� # SPDX-License-Identifier: LGPL-2.1-or-later # # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Match] OriginalName=* [Link] NamePolicy=keep kernel database onboard slot path AlternativeNamesPolicy=database onboard slot path MACAddressPolicy=persistent PK ! 8�Sf f 80-wifi-ap.network.examplenu �[��� [Match] Type=wlan WLANInterfaceType=ap [Network] Address=0.0.0.0/24 DHCPServer=yes IPMasquerade=both PK ! ���@ @ 80-wifi-station.network.examplenu �[��� [Match] Type=wlan WLANInterfaceType=station [Network] DHCP=yes PK ! �9#�� � protbase.awknu �[��� { request = request "\n" $0 } END { BLASTService = "/inet/tcp/0/www.ncbi.nlm.nih.gov/80" printf "POST /cgi-bin/BLAST/nph-blast_report HTTP/1.0\n" |& BLASTService printf "Content-Length: " length(request) "\n\n" |& BLASTService printf request |& BLASTService while ((BLASTService |& getline) > 0) print $0 close(BLASTService) } PK ! w�5�_ _ maze.awknu �[��� function SetUpServer() { TopHeader = "<HTML><title>Walk through a maze</title>" TopDoc = "\ <h2>Please choose one of the following actions:</h2>\ <UL>\ <LI><A HREF=" MyPrefix "/AboutServer>About this server</A>\ <LI><A HREF=" MyPrefix "/VRMLtest>Watch a simple VRML scene</A>\ </UL>" TopFooter = "</HTML>" srand() } function HandleGET() { if (MENU[2] == "AboutServer") { Document = "If your browser has a VRML 2 plugin,\ this server shows you a simple VRML scene." } else if (MENU[2] == "VRMLtest") { XSIZE = YSIZE = 11 # initially, everything is wall for (y = 0; y < YSIZE; y++) for (x = 0; x < XSIZE; x++) Maze[x, y] = "#" delete Maze[0, 1] # entry is not wall delete Maze[XSIZE-1, YSIZE-2] # exit is not wall MakeMaze(1, 1) Document = "\ #VRML V2.0 utf8\n\ Group {\n\ children [\n\ PointLight {\n\ ambientIntensity 0.2\n\ color 0.7 0.7 0.7\n\ location 0.0 8.0 10.0\n\ }\n\ DEF B1 Background {\n\ skyColor [0 0 0, 1.0 1.0 1.0 ]\n\ skyAngle 1.6\n\ groundColor [1 1 1, 0.8 0.8 0.8, 0.2 0.2 0.2 ]\n\ groundAngle [ 1.2 1.57 ]\n\ }\n\ DEF Wall Shape {\n\ geometry Box {size 1 1 1}\n\ appearance Appearance { material Material { diffuseColor 0 0 1 } }\n\ }\n\ DEF Entry Viewpoint {\n\ position 0.5 1.0 5.0\n\ orientation 0.0 0.0 -1.0 0.52\n\ }\n" for (i in Maze) { split(i, t, SUBSEP) Document = Document " Transform { translation " Document = Document t[1] " 0 -" t[2] " children USE Wall }\n" } Document = Document " ] # end of group for world\n}" Reason = "OK" ORS "Content-type: model/vrml" Header = Footer = "" } } function MakeMaze(x, y) { delete Maze[x, y] # here we are, we have no wall here p = 0 # count unvisited fields in all directions if (x-2 SUBSEP y in Maze) d[p++] = "-x" if (x SUBSEP y-2 in Maze) d[p++] = "-y" if (x+2 SUBSEP y in Maze) d[p++] = "+x" if (x SUBSEP y+2 in Maze) d[p++] = "+y" if (p>0) { # if there are unvisited fields, go there p = int(p*rand()) # choose one unvisited field at random if (d[p] == "-x") { delete Maze[x - 1, y]; MakeMaze(x - 2, y) } else if (d[p] == "-y") { delete Maze[x, y - 1]; MakeMaze(x, y - 2) } else if (d[p] == "+x") { delete Maze[x + 1, y]; MakeMaze(x + 2, y) } else if (d[p] == "+y") { delete Maze[x, y + 1]; MakeMaze(x, y + 2) } # we are back from recursion MakeMaze(x, y); # try again while there are unvisited fields } } PK ! �����'