diff options
| author | lijia <[email protected]> | 2019-08-28 21:47:57 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2019-08-28 21:47:57 +0800 |
| commit | c590677badd14d11315a12b36f3b9d4d380916c9 (patch) | |
| tree | 833ba752660cc21170174116a608ea19518a747c /service_script/grace_reboot.sh | |
| parent | be51922e13472b466a57071d031e546120157540 (diff) | |
Diffstat (limited to 'service_script/grace_reboot.sh')
| -rw-r--r-- | service_script/grace_reboot.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/service_script/grace_reboot.sh b/service_script/grace_reboot.sh new file mode 100644 index 0000000..7548aef --- /dev/null +++ b/service_script/grace_reboot.sh @@ -0,0 +1,9 @@ +#!/bin/sh +systectl stop mrzcpd +systectl stop mrtunnat +systectl stop mrenv +echo 0 > /sys/class/net/ens1/device/sriov_numvfs +ifconfig ens1.100 down +vconfig rem ens1.100 +ifconfig ens1 down +reboot |
