Subversion Repositories ALCASAR

Rev

Rev 2412 | Rev 2432 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2412 Rev 2430
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-conf.sh 2412 2017-09-17 12:11:23Z tom.houdayer $
2
# $Id: alcasar-conf.sh 2430 2017-10-18 22:24:25Z tom.houdayer $
3
 
3
 
4
# alcasar-conf.sh
4
# alcasar-conf.sh
5
# by REXY
5
# by REXY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 63... Line 63...
63
usage="Usage: alcasar-conf.sh {--create or -create} | {--load or -load} | {--apply or -apply}"
63
usage="Usage: alcasar-conf.sh {--create or -create} | {--load or -load} | {--apply or -apply}"
64
nb_args=$#
64
nb_args=$#
65
args=$1
65
args=$1
66
if [ $nb_args -eq 0 ]
66
if [ $nb_args -eq 0 ]
67
then
67
then
68
	nb_args=100:26:6C:
68
	nb_args=1
69
	args="-h"
69
	args="-h"
70
fi
70
fi
71
case $args in
71
case $args in
72
	-\? | -h* | --h*)
72
	-\? | -h* | --h*)
73
		echo "$usage"
73
		echo "$usage"