Magellan Linux

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

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

revision 2397 by niro, Tue Jan 14 10:34:57 2014 UTC revision 2398 by niro, Fri Aug 28 09:39:30 2015 UTC
# Line 56  set_network_hostname() Line 56  set_network_hostname()
56   addconfig "ff02::3 ip6-allhosts"   addconfig "ff02::3 ip6-allhosts"
57    
58   # check for running x11 and recreate the xauth cookie with the correct hostname   # check for running x11 and recreate the xauth cookie with the correct hostname
59   if [[ ! -z $(pidof X) ]]   if [[ ! -z $(pidof X) ]]  || [[ -n $(pidof Xorg) ]]
60   then   then
61   socket="${value}/unix${MCORE_XORG_DISPLAY}"   socket="${value}/unix${MCORE_XORG_DISPLAY}"
62   cookie=$(x11runas "xauth list | sed 's:.*\ \(.*\):\1:'")   cookie=$(x11runas "xauth list | sed 's:.*\ \(.*\):\1:'")

Legend:
Removed from v.2397  
changed lines
  Added in v.2398