summaryrefslogtreecommitdiffstats
path: root/client/shared/etc/preinit
diff options
context:
space:
mode:
authoradv <adv@uma.es>2012-01-19 10:07:59 +0000
committeradv <adv@uma.es>2012-01-19 10:07:59 +0000
commit522c19d362c34b4a03480f168ac2ad3a442ea821 (patch)
treefb027d96112273a814fd9cb15eae04641b5a8370 /client/shared/etc/preinit
parentc66eccdb1b35661fa25937504398d3ab96c10ba2 (diff)
#482 mountrepo.sh reconoce ogprotocol
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2450 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/etc/preinit')
-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 b3112fa6..9b0aebaa 100755
--- a/client/shared/etc/preinit/mountrepo.sh
+++ b/client/shared/etc/preinit/mountrepo.sh
@@ -16,7 +16,7 @@ if [ $ogactiveadmin == "true" ]; then
export boot=admin # ATENCIÓN: siempre en modo "admin".
umount $OGIMG 2>/dev/null
- protocol=${potocol:-"smb"}
+ protocol=${ogprotocol:-"smb"}
printf "$MSG_MOUNTREPO\n" "$protocol" "$boot"
case "$ogprotocol" in
nfs) mount.nfs ${ROOTREPO}:$OGIMG $OGIMG -o rw,nolock ;;