Magellan Linux

Diff of /alx-src/branches/alxconf-060/init.d/alxsettings

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

revision 295 by niro, Thu Aug 18 07:39:00 2005 UTC revision 297 by niro, Thu Aug 18 08:10:46 2005 UTC
# Line 11  Line 11 
11  #%before:  #%before:
12  #%after:  #%after:
13    
14  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/init.d/alxsettings,v 1.16 2005-08-18 07:39:00 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/init.d/alxsettings,v 1.17 2005-08-18 08:10:46 niro Exp $
15    
16  # checks first if the client was already configured and if it has an valid serial  # checks first if the client was already configured and if it has an valid serial
17  # if not it runs the autoconfiguration script  # if not it runs the autoconfiguration script
# Line 450  import_settings_local(){ Line 450  import_settings_local(){
450   cat ${ALX_SKELETONS}/fluxbox/menu.header \   cat ${ALX_SKELETONS}/fluxbox/menu.header \
451   > ${ALX_UNPRIV_HOME}/.fluxbox/menu   > ${ALX_UNPRIV_HOME}/.fluxbox/menu
452    
453     # now fix it with proper messages :P
454     local ver="$(< /etc/mageversion)"
455     sed -i "s:@CHANGEME@:alx-${ver}  #${ALX_SERIAL}:g" \
456     ${ALX_UNPRIV_HOME}/.fluxbox/menu
457    
458   # add a newline (maybe there is no crlf in the header)   # add a newline (maybe there is no crlf in the header)
459   echo >> ${ALX_UNPRIV_HOME}/.fluxbox/menu   echo >> ${ALX_UNPRIV_HOME}/.fluxbox/menu
460    

Legend:
Removed from v.295  
changed lines
  Added in v.297