Debian repository as a commandline option

This commit is contained in:
Bob Mottram 2015-01-31 12:15:34 +00:00
parent 1f25909aaa
commit 64e1666179
1 changed files with 6 additions and 0 deletions

View File

@ -381,6 +381,7 @@ function show_help {
echo ' --vport VoIP server port'
echo ' --ns1 First DNS nameserver'
echo ' --ns2 Second DNS nameserver'
echo ' --repo Debian repository'
echo ''
echo 'system types'
echo '------------'
@ -1144,6 +1145,11 @@ case $key in
shift
NAMESERVER2=$1
;;
# Debian repository
--repo)
shift
DEBIAN_REPO=$1
;;
*)
# unknown option
;;