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-378ad31fedc9
remotes/github/debian-pkg
ramon 2011-08-02 10:52:23 +00:00
parent 3998421229
commit e9a1f41d0e
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File