summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.sh3
l---------ipmi-servers.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/config.sh b/config.sh
index ccf0d0b..423b5f8 100644
--- a/config.sh
+++ b/config.sh
@@ -24,6 +24,9 @@ elif [[ $0 =~ "ipmi-camera.sh" ]]; then
elif [[ $0 =~ "ipmi-student.sh" ]]; then
[ -n "$servers" ] || servers=$(seq 1 7)
hip=$(for i in $servers ; do echo "192.168.26.6$i" ; done)
+elif [[ $0 =~ "ipmi-servers.sh" ]]; then
+ [ -n "$servers" ] || servers=$(seq 0 0)
+ hip=$(for i in $servers ; do echo "192.168.26.17$i" ; done)
elif [ -n "$servers" ]; then
iip=$(for i in $servers ; do echo "192.168.26.$i" ; done)
hip=$(for i in $servers ; do echo "192.168.26.$i" ; done)
diff --git a/ipmi-servers.sh b/ipmi-servers.sh
new file mode 120000
index 0000000..6c161b4
--- /dev/null
+++ b/ipmi-servers.sh
@@ -0,0 +1 @@
+ipmi.sh \ No newline at end of file