diff options
author | adv <adv@uma.es> | 2012-01-12 20:36:56 +0000 |
---|---|---|
committer | adv <adv@uma.es> | 2012-01-12 20:36:56 +0000 |
commit | cca95a3f6b97e4dd7b12f2f0404e482191e23edb (patch) | |
tree | 4ce2c9e20b28fa1fd3c1ccfded316975fea1839e /client/shared/etc/preinit/mountrepo.sh | |
parent | 802fcc649b15faa6261d3e480b4bdffcf04b23b8 (diff) |
#460 correccion ogprotocol
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2432 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/etc/preinit/mountrepo.sh')
-rwxr-xr-x | client/shared/etc/preinit/mountrepo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shared/etc/preinit/mountrepo.sh b/client/shared/etc/preinit/mountrepo.sh index 5c20499a..617b9145 100755 --- a/client/shared/etc/preinit/mountrepo.sh +++ b/client/shared/etc/preinit/mountrepo.sh @@ -18,7 +18,7 @@ if [ $ogactiveadmin == "true" ]; then protocol=${potocol:-"smb"} printf "$MSG_MOUNTREPO\n" "$protocol" "$boot" - case "$protocol" in + case "$ogprotocol" in nfs) mount.nfs ${ROOTREPO}:$OGIMG $OGIMG -o rw,nolock ;; smb) PASS=$(grep "^[ ]*\(export \)\?OPTIONS=" /scripts/ogfunctions 2>&1 | \ sed 's/\(.*\)pass=\(\w*\)\(.*\)/\2/') |