Commit | Line | Data |
---|---|---|
093632c9 JH |
1 | #!/bin/sh |
2 | ||
3 | if [ x$1 = "x-o" ] | |
4 | then | |
5 | shift | |
6 | action=$1 | |
7 | shift | |
8 | fi | |
9 | ||
10 | if [ -r $1 ] | |
11 | then | |
12 | echo "scanning file $1" | |
13 | else | |
14 | echo "$1 not readable" | |
15 | exit 1 | |
16 | fi | |
17 | ||
18 | case $action in | |
19 | accept) ;; | |
20 | reject) echo "VNAME found in file $1";; | |
0f0c8159 | 21 | pause3) sleep 3;; |
093632c9 JH |
22 | esac |
23 |