Magellan Linux

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

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

revision 2470 by niro, Mon Jun 27 15:07:24 2011 UTC revision 2471 by niro, Mon Jun 27 15:14:05 2011 UTC
# Line 628  import_settings_local() Line 628  import_settings_local()
628   [ -d ${ALX_UNPRIV_HOME}/.idesktop ] && rm -rf ${ALX_UNPRIV_HOME}/.idesktop   [ -d ${ALX_UNPRIV_HOME}/.idesktop ] && rm -rf ${ALX_UNPRIV_HOME}/.idesktop
629   install -d ${ALX_UNPRIV_HOME}/.idesktop   install -d ${ALX_UNPRIV_HOME}/.idesktop
630    
631     # add shutdown, reboot icons
632     local name
633     # default settings
634     declare -i x=30
635     declare -i y=30
636     for i in shutdown reboot
637     do
638     case ${i} in
639     shutdown) name="Herunterfahren"
640     reboot) name="Neustarten"
641     esac
642    
643     generate_icon \
644     --name "${name}" \
645     --command "/usr/lib/alxconfig-ng/bin/user_${i}.sh" \
646     --icon "${ALX_SESSIONS_ICONS}/${i}.png" \
647     --dest "${dest}/${i}.lnk" \
648     --xres "${x}" \
649     --yres "${y}"
650    
651     y=$((${y} + 80))
652     done
653    
654   # last but not least gen a icon with some sys informations   # last but not least gen a icon with some sys informations
655   local sysinfo   local sysinfo
656   local osversion   local osversion

Legend:
Removed from v.2470  
changed lines
  Added in v.2471