arm:pass the hz parameter in the command line.
This commit is contained in:
parent
45e310bd69
commit
0501b3b494
|
|
@ -3,6 +3,7 @@
|
||||||
CONSOLE=tty02
|
CONSOLE=tty02
|
||||||
#verbosity
|
#verbosity
|
||||||
VERBOSE=3
|
VERBOSE=3
|
||||||
|
HZ=1000
|
||||||
while getopts "c:v:?" c
|
while getopts "c:v:?" c
|
||||||
do
|
do
|
||||||
case "$c" in
|
case "$c" in
|
||||||
|
|
@ -18,8 +19,12 @@ do
|
||||||
# genrate netbooting uEnv.txt
|
# genrate netbooting uEnv.txt
|
||||||
VERBOSE=$OPTARG
|
VERBOSE=$OPTARG
|
||||||
;;
|
;;
|
||||||
|
h)
|
||||||
|
# system hz
|
||||||
|
HZ=$OPTARG
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
echo console=$CONSOLE rootdevname=c0d0p1s0 verbose=$VERBOSE
|
echo console=$CONSOLE rootdevname=c0d0p1s0 verbose=$VERBOSE hz=$HZ
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user