diff options
Diffstat (limited to '1/test/test.sh')
-rwxr-xr-x | 1/test/test.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1/test/test.sh b/1/test/test.sh new file mode 100755 index 0000000..18263e6 --- /dev/null +++ b/1/test/test.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +if [ $(id -u) -ne 0 ] ; then + echo "run me as root!" >&2 + exit 1 +fi + +if [ $# -eq 0 ] ; then + echo "usage: $0 /dev/lork" >&2 + exit 1 +fi + + +exit 0 |