Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/tigervnc/vnc.client.class.in

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

revision 2172 by niro, Fri Jan 10 14:10:39 2014 UTC revision 2269 by niro, Tue Jan 14 10:34:57 2014 UTC
# Line 80  get_vnc_service() Line 80  get_vnc_service()
80    
81  set_vnc_service()  set_vnc_service()
82  {  {
83   local action="$1"   local action="${CLASS_ARGV[0]}"
84   if [[ -z ${action} ]]   if [[ -z ${action} ]]
85   then   then
86   help_vnc_service   help_vnc_service
# Line 108  get_vnc_passwd() Line 108  get_vnc_passwd()
108    
109  set_vnc_passwd()  set_vnc_passwd()
110  {  {
111   local pass="$1"   local pass="${CLASS_ARGV[0]}"
112   local vncconfigdir="${MROOT}/root/.vnc"   local vncconfigdir="${MROOT}/root/.vnc"
113   local vncpasswd="${vncconfigdir}/passwd"   local vncpasswd="${vncconfigdir}/passwd"
114   [[ -z ${pass} ]] && help_vnc_passwd && return 1   [[ -z ${pass} ]] && help_vnc_passwd && return 1

Legend:
Removed from v.2172  
changed lines
  Added in v.2269