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 2171 by niro, Fri Jan 10 14:10:21 2014 UTC revision 2172 by niro, Fri Jan 10 14:10:39 2014 UTC
# Line 62  helper_vnc_disable() Line 62  helper_vnc_disable()
62    
63  get_vnc_service()  get_vnc_service()
64  {  {
65   if [ -f ${MROOT}/etc/X11/xorg.conf.d/25-module.conf ]   if [ -f ${MROOT}@@SYSCONFDIR@@/X11/xorg.conf.d/25-module.conf ]
66   then   then
67   if [[ -n $(grep 'Load.*vnc' ${MROOT}/etc/X11/xorg.conf.d/25-module.conf) ]]   if [[ -n $(grep 'Load.*vnc' ${MROOT}@@SYSCONFDIR@@/X11/xorg.conf.d/25-module.conf) ]]
68   then   then
69   mecho "VNC facility is enabled."   mecho "VNC facility is enabled."
70   rvecho "1"   rvecho "1"

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