summaryrefslogtreecommitdiffstats
path: root/client/shared/etc/preinit/mountrepo.sh
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-08-02 10:52:23 +0000
committerramon <ramongomez@us.es>2011-08-02 10:52:23 +0000
commite9a1f41d0eab7e6f9b422d33641962570b804aa2 (patch)
tree292ba9ca24d946b8790f1002f51cbcf7eb871762 /client/shared/etc/preinit/mountrepo.sh
parent399842122906f773c4c0b750f815de1da66dfb68 (diff)
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
Diffstat (limited to 'client/shared/etc/preinit/mountrepo.sh')
-rwxr-xr-xclient/shared/etc/preinit/mountrepo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shared/etc/preinit/mountrepo.sh b/client/shared/etc/preinit/mountrepo.sh
index fead4a04..af11f065 100755
--- a/client/shared/etc/preinit/mountrepo.sh
+++ b/client/shared/etc/preinit/mountrepo.sh
@@ -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