Magellan Linux

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

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

revision 2762 by niro, Tue Feb 2 14:11:44 2016 UTC revision 2763 by niro, Wed Feb 3 08:04:23 2016 UTC
# Line 106  push_firstboot_10_vnc_passwd() Line 106  push_firstboot_10_vnc_passwd()
106  {  {
107   local serial="$1"   local serial="$1"
108    
109   # now setup some empty database entries if the does not exist   # now setup some empty database entries if they do not exist
110   auth=$(mysqldo "select vnc from client_auth where serial=${serial};")   auth=$(mysqldo "select vnc from client_auth where serial=${serial};")
111   if [[ -z ${auth} ]] || [[ ${auth} = NULL ]]   if [[ -z ${auth} ]] || [[ ${auth} = NULL ]]
112   then   then
113   decho "set empty vnc pass"   decho "set empty vnc pass"
114   import_resource client_auth "${serial}" "vnc" ""   import_resource client_auth "${serial}" "vnc" ""
115   fi   fi
116  }  }

Legend:
Removed from v.2762  
changed lines
  Added in v.2763