Magellan Linux

Diff of /alx-src/trunk/tinyalxconfig-ng/functions/config_sessions.sh

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

revision 483 by niro, Wed Jun 4 19:26:00 2008 UTC revision 484 by niro, Sat Jun 7 17:10:04 2008 UTC
# Line 1  Line 1 
1  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/functions/config_sessions.sh,v 1.2 2008-06-04 19:26:00 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/functions/config_sessions.sh,v 1.3 2008-06-07 17:10:04 niro Exp $
2  # configures ica-sessions on the host via mysql db settings  # configures ica-sessions on the host via mysql db settings
3    
4  get_sessions_settings()  get_sessions_settings()
# Line 423  generate_all_desktop_icons() Line 423  generate_all_desktop_icons()
423    
424   osversion="$(< /etc/mageversion)"   osversion="$(< /etc/mageversion)"
425   hostname=$(mysqldo "select hostname from cfg_network where serial='${ALX_SERIAL}'")   hostname=$(mysqldo "select hostname from cfg_network where serial='${ALX_SERIAL}'")
426   sysinfo="Hostname: ${hostname} Serial: #${ALX_SERIAL} OS: alx-${osversion} Kernel: $(uname -r)"   sysinfo="Hostname: ${hostname} Serial: #${ALX_SERIAL} OS: tinyALX-${osversion} Kernel: $(uname -r)"
427    
428   # now get the right position:   # now get the right position:
429   # restore orig values of xres   # restore orig values of xres
# Line 508  config_sessions() Line 508  config_sessions()
508    
509   # now fix it with proper messages :P   # now fix it with proper messages :P
510   local ver="$(< /etc/mageversion)"   local ver="$(< /etc/mageversion)"
511   sed -i "s:@CHANGEME@:alx-${ver}  #${ALX_SERIAL}:g" \   sed -i "s:@CHANGEME@:tinyALX-${ver}  #${ALX_SERIAL}:g" \
512   ${ALX_UNPRIV_HOME}/.fluxbox/menu   ${ALX_UNPRIV_HOME}/.fluxbox/menu
513    
514   # add a newline (maybe there is no crlf in the header)   # add a newline (maybe there is no crlf in the header)

Legend:
Removed from v.483  
changed lines
  Added in v.484