refs #273 adds tftpboot directory creation
parent
03924cd3b2
commit
0cda6118e0
|
@ -298,7 +298,7 @@ function createDirs() {
|
||||||
|
|
||||||
# Crear estructura de directorios.
|
# Crear estructura de directorios.
|
||||||
echoAndLog "${FUNCNAME}(): creating directory paths in $path_opengnsys_base"
|
echoAndLog "${FUNCNAME}(): creating directory paths in $path_opengnsys_base"
|
||||||
mkdir -p "$path_opengnsys_base"/{bin,config,docs,public,src,etc/kea/backup,templates,var/{cache,log},vendor}
|
mkdir -p "$path_opengnsys_base"/{bin,config,docs,public,src,etc/kea/backup,templates,var/{cache,log},vendor, tftpboot}
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
errorAndLog "${FUNCNAME}(): error while creating dirs. Do you have write permissions?"
|
errorAndLog "${FUNCNAME}(): error while creating dirs. Do you have write permissions?"
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in New Issue