diff options
author | ramon <ramongomez@us.es> | 2017-03-15 16:15:06 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-03-15 16:15:06 +0000 |
commit | 715ff088812f2318c52eb96b51b12b056b5afc1f (patch) | |
tree | 826e6d0796a2871353ee00ad9c4be6bd9e0d4352 /server/bin/oglivecli | |
parent | 47074815acc699a4defed427488c457ad744e0fb (diff) |
#768: Enlazar correctamente a directorio de antiguo cliente ogclient al instalar un nuevo cliente ogLive.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5234 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin/oglivecli')
-rwxr-xr-x | server/bin/oglivecli | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/bin/oglivecli b/server/bin/oglivecli index 0e5b570e..115df99e 100755 --- a/server/bin/oglivecli +++ b/server/bin/oglivecli @@ -266,7 +266,7 @@ function download() { # Install an ogLive client from a previously downloaded ISO image. function install() { - local OGLIVEFILE OGLIVEDIST OGLIVEREV OGLIVEKRNL OGLIVEDIR OGINITRD OGSQFS + local OGLIVEFILE OGLIVEDIST OGLIVEREV OGLIVEKRNL OGLIVEDIR OGINITRD OGSQFS OGCLIENT=ogclient local SAMBAPASS TMPDIR RSYNCSERV RSYNCCLNT [ $# -ne 1 ] && raiseError usage OGLIVEFILE=$DOWNLOADDIR/"$1" @@ -308,6 +308,7 @@ function install() { umount $TMPDIR rm -f $TFTPDIR/$DEFOGLIVE ln -vfs $(basename $OGLIVEDIR) $TFTPDIR/$DEFOGLIVE + ln -vfs $DEFOGLIVE $TFTPDIR/$OGCLIENT # Recover or ask for a new Samba access key. if [ -n "$SAMBAPASS" ]; then echo -ne "$SAMBAPASS\n$SAMBAPASS\n" | $OPENGNSYS/bin/setsmbpass |