diff options
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc')
-rwxr-xr-x | core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc index 4b31d16a..abdb0890 100755 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc @@ -38,7 +38,7 @@ function mounter() sleep $x if [ "$x" -gt 6 ]; then AUSGANG=1 - logger "openslx sharemapper: timeout, could not mount ${3} to ${4}." + logger "openslx sharemapper: timeout, could not mount ${3} to ${4}. mount.nfs installed?" break fi let x=x+2 @@ -72,7 +72,8 @@ function mounter() function mount_share() { - USERSHAREDIR="${USERHOME}"/SHARE_"${CONFIGROW}" # ROHSHARES: Zeilennummer; Shares >=1 + # USERSHAREDIR="${USERHOME}"/SHARE_"${CONFIGROW}" # ROHSHARES: Zeilennummer; Shares >=1 + USERSHAREDIR="${USERHOME}"/"${SHARENAME}" if [ ! -d "$USERSHAREDIR" ]; then mkdir -p "$USERSHAREDIR" 2>/dev/null chown "$LOCALUSER":$(id --group "$LOCALUSER") "$USERSHAREDIR" @@ -101,9 +102,7 @@ function mount_share() unset PASSWD fi if [ "$ERR" -eq 0 ]; then - logger "openslx sharemapper: Linking ${SHARELETTER} and $SHARENAME, if possible." -# [ -n "${SHARELETTER}" ] && ln -s "$USERSHAREDIR" "${USERDESKTOP}"/"$SHARELETTER" -# [ -n "${SHARELETTER}" ] && ln -s "$USERSHAREDIR" "${USERDESKTOP}"/"$SHARENAME" + logger "openslx sharemapper: Linking ${SHARENAME}, if possible." if [ -n "${SHARENAME}" ]; then ln -s "$USERSHAREDIR" "${USERDESKTOP}"/"$SHARENAME" |