summaryrefslogtreecommitdiff
path: root/service_script
diff options
context:
space:
mode:
Diffstat (limited to 'service_script')
-rw-r--r--service_script/grace_reboot.sh9
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