From bca2dead1dbf863b314b24b6f0f6f1ec3dcb384f Mon Sep 17 00:00:00 2001 From: timothyo Date: Mon, 28 Jan 2019 15:07:36 -0800 Subject: [PATCH] Added functions to restart network services and to print all network intefaces in operation --- scripts.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scripts.json b/scripts.json index cb12d47..db547ab 100644 --- a/scripts.json +++ b/scripts.json @@ -211,6 +211,22 @@ "showResult": false, "timeout": 0, "uid": "1551F355-D3A8-4CB1-A519-44743E49A470" + }, + { + "description": "Prints all network interfaces currently in operation.", + "name": "Current Network Interfaces", + "script": "ifconfig;", + "showResult": true, + "timout": 60, + "uid": "1bf5c8cf-6844-4c73-b933-c3177f4e33f7" + }, + { + "description": "Restart Network Services", + "name": "Reset Network Services", + "script": "sudo /etc/init.d/networking restart", + "showResult": true, + "timout": 60, + "uid": "e2d5cfda-3573-4e2e-9523-39a3bac0b121" } ], "description": "All Commands about Networking",