--- mcore-src/trunk/mcore-tools/src/modules/fbsplash/fbsplash.client.class.in 2014/01/10 13:56:05 2161 +++ mcore-src/trunk/mcore-tools/src/modules/fbsplash/fbsplash.client.class.in 2014/01/10 13:56:52 2162 @@ -6,7 +6,7 @@ get_boot_splash() { local var - var=$(grep "^export GRUB_CMDLINE_BOOTSPLASH=" ${MROOT}/etc/conf.d/grub | sed "s:.*splash=\(.*\),.*:\1:") + var=$(grep "^export GRUB_CMDLINE_BOOTSPLASH=" ${MROOT}@@CONFDDIR@@/grub | sed "s:.*splash=\(.*\),.*:\1:") case "${var}" in silent|"") mecho "bootsplash currently enabled"; rvecho "1" ;; @@ -22,12 +22,12 @@ case "${action}" in enable) - sed -i "s:^\(export GRUB_CMDLINE_BOOTSPLASH=\).*:\1\"splash=silent,theme=default\":" ${MROOT}/etc/conf.d/grub + sed -i "s:^\(export GRUB_CMDLINE_BOOTSPLASH=\).*:\1\"splash=silent,theme=default\":" ${MROOT}@@CONFDDIR@@/grub helper_boot_rebuild_bootconfig mecho "bootsplash enabled" ;; disable) - sed -i "s:^\(export GRUB_CMDLINE_BOOTSPLASH=\).*:\1\"splash=verbose,theme=default\":" ${MROOT}/etc/conf.d/grub + sed -i "s:^\(export GRUB_CMDLINE_BOOTSPLASH=\).*:\1\"splash=verbose,theme=default\":" ${MROOT}@@CONFDDIR@@/grub helper_boot_rebuild_bootconfig mecho "bootsplash disabled" ;; @@ -38,7 +38,7 @@ get_boot_theme() { local action="$1" - local themedir="${MROOT}/etc/splash/themes" + local themedir="${MROOT}@@SYSCONFDIR@@/splash/themes" local theme local i @@ -65,7 +65,7 @@ set_boot_theme() { local theme="$1" - local themedir="${MROOT}/etc/splash/themes" + local themedir="${MROOT}@@SYSCONFDIR@@/splash/themes" [[ -z ${theme} ]] && help_boot_theme && return 1 if [[ -d ${themedir}/${theme} ]]