__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
# This script is sourced, so root should be set. But let's be paranoid
[ -z "$root" ] && root=$(getarg root=)
if [ -z "$netroot" ]; then
for netroot in $(getargs netroot=); do
[ "$netroot" = "dhcp" ] && break
[ "$netroot" = "dhcp6" ] && break
done
[ "$netroot" = "dhcp" ] || [ "$netroot" = "dhcp6" ] || unset netroot
fi
if [ "$root" = "dhcp" ] || [ "$root" = "dhcp6" ] || [ "$netroot" = "dhcp" ] || [ "$netroot" = "dhcp6" ]; then
# Tell ip= checker that we need dhcp
NEEDDHCP="1"
# Done, all good!
rootok=1
if [ "$netroot" != "dhcp" ] && [ "$netroot" != "dhcp6" ]; then
netroot=$root
fi
# Shut up init error check
[ -z "$root" ] && root="dhcp"
echo '[ -d $NEWROOT/proc -o -e /dev/root ]' > $hookdir/initqueue/finished/dhcp.sh
fi
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| dhclient-script.sh | File | 8.32 KB | 0755 |
|
| dhclient.conf | File | 262 B | 0644 |
|
| dhcp-root.sh | File | 926 B | 0755 |
|
| ifname-genrules.sh | File | 1.2 KB | 0755 |
|
| ifup.sh | File | 13.53 KB | 0755 |
|
| kill-dhclient.sh | File | 362 B | 0755 |
|
| module-setup.sh | File | 4.74 KB | 0755 |
|
| net-genrules.sh | File | 3.67 KB | 0755 |
|
| net-lib.sh | File | 24.11 KB | 0755 |
|
| netroot.sh | File | 2.72 KB | 0755 |
|
| parse-bond.sh | File | 1.96 KB | 0755 |
|
| parse-bridge.sh | File | 1.1 KB | 0755 |
|
| parse-ibft.sh | File | 393 B | 0755 |
|
| parse-ifname.sh | File | 662 B | 0755 |
|
| parse-ip-opts.sh | File | 4.8 KB | 0755 |
|
| parse-team.sh | File | 983 B | 0755 |
|
| parse-vlan.sh | File | 532 B | 0755 |
|