Versión 1.0.2: corregir errata en permiso de nuevo script y en montar repositorio (modifica #341 y #428)
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2247 a21b9725-9963-47de-94b9-378ad31fedc9remotes/github/debian-pkg
parent
3998421229
commit
e9a1f41d0e
|
@ -20,7 +20,7 @@ if [ $ogactiveadmin == "true" ]; then
|
|||
printf "$MSG_MOUNTREPO\n" "$protocol" "$boot"
|
||||
case "$protocol" in
|
||||
nfs) mount.nfs ${ROOTREPO}:$OGIMG $OGIMG -o rw,nolock ;;
|
||||
smb) PASS=$(grep "^[ ]*OPTIONS=" /scripts/ogfunctions 2>&1 | \
|
||||
smb) PASS=$(grep "^[ ]*OPTIONS=" /scripts/ogfunctions 2>&1 | \
|
||||
sed 's/\(.*\)pass=\(\w*\)\(.*\)/\2/')
|
||||
PASS=${PASS:-"og"}
|
||||
mount.cifs //${ROOTREPO}/ogimages $OGIMG -o rw,serverino,acl,username=opengnsys,password=$PASS
|
||||
|
|
Loading…
Reference in New Issue