Files
webgui/sbin/mdcmd
Tom Mortensen f9ec00b488 repo reorg
2023-06-02 12:49:33 -07:00

13 lines
172 B
Bash
Executable File

#!/bin/bash
#
if [ $# -eq 0 ]; then
echo "usage: mdcmd <command> [arg ... ]"
exit 1;
fi;
if [ $1 == "status" ]; then
cat /proc/mdstat
else
echo $* >/proc/mdcmd
fi