Code backup
This commit is contained in:
2026-05-10 16:59:01 +02:00
commit 368d6fafea
796 changed files with 315310 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/bin/bash
ARRAY=""
IDRAC.Main() {
case $1 in
1)
IDRAC.Drive
exit $STATE ;;
esac
}
IDRAC.Drive() {
echo $ARRAY
}
while test -n "$1"; do
case "$1" in
-h)
ARRAY=$2
shift ;;
-idrac)
IDRAC.Main $2
shift ;;
*)
echo "Unknown argument: $1"
print_help
exit $STATE_UNK ;;
esac
shift
done