Contents of /mcore-src/trunk/mcore-tools/src/modules/fluxbox/fluxbox-rebuild-autostart.in
Parent Directory | Revision Log
Revision 2150 -
(show annotations)
(download)
Fri Jan 10 13:37:46 2014 UTC (10 years, 8 months ago) by niro
File size: 519 byte(s)
Fri Jan 10 13:37:46 2014 UTC (10 years, 8 months ago) by niro
File size: 519 byte(s)
-added fluxbox module
1 | #!/bin/bash |
2 | |
3 | MCLIBDIR="@@MCORE_LIBDIR@@" |
4 | source @@SYSCONFDIR@@/mcore/config.rc |
5 | source ${MCLIBDIR}/include/common.global.class |
6 | |
7 | if [ ! -d ${MROOT}/${MCORE_CONFIG_PATH}/fluxbox/autostart ] |
8 | then |
9 | echo "'${MROOT}/${MCORE_CONFIG_PATH}/fluxbox/autostart' does not exist." |
10 | exit 1 |
11 | fi |
12 | |
13 | CONFIG="${MROOT}/${MCORE_UNPRIV_HOME}/.fluxbox/apps" |
14 | clearconfig |
15 | for file in $(find ${MROOT}/${MCORE_CONFIG_PATH}/fluxbox/autostart -type f) |
16 | do |
17 | addconfig "$(< ${file})" |
18 | done |
19 | |
20 | # add a newline (maybe there is no crlf in the footer) |
21 | addconfig |