Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/rdesktop/rdesktop-session.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2737 by niro, Thu Jan 28 14:20:01 2016 UTC revision 2738 by niro, Thu Jan 28 15:18:00 2016 UTC
# Line 17  do Line 17  do
17   --add|--del|--print) method="${1//--}" ;;   --add|--del|--print) method="${1//--}" ;;
18   --name) shift; name="$1" ;;   --name) shift; name="$1" ;;
19   --server) shift; server="$1" ;;   --server) shift; server="$1" ;;
  --shell) shift; shell="$1" ;;  
20   --mode) shift; mode="$1" ;;   --mode) shift; mode="$1" ;;
21   --user) shift; user="$1" ;;   --user) shift; user="$1" ;;
22   --domain) shift; domain="$1" ;;   --domain) shift; domain="$1" ;;
23   --password) shift; password="$1" ;;   --password) shift; password="$1" ;;
24   --store) shift; store="$1" ;;   --shell) shift; shell="$1" ;;
25   --autostart) shift; autostart="$1" ;;   --autostart) shift; autostart="$1" ;;
26   esac   esac
27   shift   shift
# Line 31  done Line 30  done
30  cmdline=""  cmdline=""
31  [[ -n ${method} ]] || die "No method given"  [[ -n ${method} ]] || die "No method given"
32  [[ -n ${autostart} ]] || autostart=0  [[ -n ${autostart} ]] || autostart=0
33    [[ ${shell} = NULL ]] && shell=""
34    [[ ${user} = NULL ]] && user=""
35    [[ ${domain} = NULL ]] && domain=""
36    [[ ${password} = NULL ]] && password=""
37    
38  [[ -d ${RDESKTOP_SESSIONDIR} ]] || install -d ${RDESKTOP_SESSIONDIR}  [[ -d ${RDESKTOP_SESSIONDIR} ]] || install -d ${RDESKTOP_SESSIONDIR}
39  [[ -d ${RDESKTOP_CONFIGDIR} ]] || install -d ${RDESKTOP_CONFIGDIR}  [[ -d ${RDESKTOP_CONFIGDIR} ]] || install -d ${RDESKTOP_CONFIGDIR}

Legend:
Removed from v.2737  
changed lines
  Added in v.2738