1#!/bin/sh 2 3SN=`burnsn 3>&1 2>&3 | awk '{print $4}'` 4 5echo 20 > /proc/sys/net/ipv4/tcp_keepalive_time 6echo 3 > /proc/sys/net/ipv4/tcp_keepalive_probes 7echo 20 > /proc/sys/net/ipv4/tcp_keepalive_intvl 8 9/opt/xagent/xagent --log_debug --hardware_id ${SN} --ca_path /opt/xagent/certs --ca_file /opt/xagent/certs/ca-bundle-mega.crt --model_id R7000 --log_file /tmp/xagent-log & 10