Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/fluxbox/fluxbox-rebuild-menu.in

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

revision 2779 by niro, Tue Feb 2 14:50:22 2016 UTC revision 2780 by niro, Fri Feb 12 12:17:27 2016 UTC
# Line 55  addconfig '[end]' Line 55  addconfig '[end]'
55  # add a newline (maybe there is no crlf in the footer)  # add a newline (maybe there is no crlf in the footer)
56  addconfig  addconfig
57    
58  # add a menu for an deactivated client  # systemd provides this via tmpfiles.d
59  CONFIG="${MROOT}/${MCORE_UNPRIV_HOME}/@@FLUXBOX_USER_CONFIG_DIR@@/menu-deactivated"  if [[ ! -e @@DATADIR@@/factory/${MCORE_UNPRIV_HOME}/@@FLUXBOX_USER_CONFIG_DIR@@/menu-deactivated ]]
60  clearconfig  then
61  addconfig "[begin] (${ver}  #$(mcore-serial))"   # add a menu for an deactivated client
62  addconfig   CONFIG="${MROOT}/${MCORE_UNPRIV_HOME}/@@FLUXBOX_USER_CONFIG_DIR@@/menu-deactivated"
63  addconfig '[separator]'   clearconfig
64  #addconfig '[exit] (Abmelden)'   addconfig "[begin] (${ver}  #$(mcore-serial))"
65  addconfig '[exec] (Neustarten) {sudo @@SBINDIR@@/reboot}'   addconfig
66  addconfig '[exec] (Herunterfahren) {sudo @@SBINDIR@@/poweroff}'   addconfig '[separator]'
67  addconfig '[end]'   #addconfig '[exit] (Abmelden)'
68  addconfig   addconfig '[exec] (Neustarten) {sudo @@SBINDIR@@/reboot}'
69     addconfig '[exec] (Herunterfahren) {sudo @@SBINDIR@@/poweroff}'
70     addconfig '[end]'
71     addconfig
72    fi
73    
74  # activate the normal client menu  # activate the normal client menu
75  install -o ${MCORE_UNPRIV_USER} -g ${MCORE_UNPRIV_GROUP} \  install -o ${MCORE_UNPRIV_USER} -g ${MCORE_UNPRIV_GROUP} \

Legend:
Removed from v.2779  
changed lines
  Added in v.2780