branding: added slideshow knobs

Added use/branding/slideshow/once as one of the uses
albeit the interface is universal; see this page for
more info: http://altlinux.org/branding/slideshow [ru]
This commit is contained in:
Michael Shigorin 2014-03-10 17:19:58 +04:00
parent 039af304d0
commit c104131057
2 changed files with 12 additions and 0 deletions

View File

@ -9,3 +9,8 @@ use/branding/full: use/branding use/syslinux/ui/gfxboot
use/branding/complete: use/branding/full use/plymouth/full use/branding/complete: use/branding/full use/plymouth/full
@$(call add,INSTALL2_BRANDING,notes slideshow) @$(call add,INSTALL2_BRANDING,notes slideshow)
# http://altlinux.org/branding/slideshow
use/branding/slideshow/once: use/branding
@$(call add,INSTALL2_BRANDING_SLIDESHOW,once:true)
@$(call xport,INSTALL2_BRANDING_SLIDESHOW)

View File

@ -0,0 +1,7 @@
#!/bin/bash
[ -n "$GLOBAL_INSTALL2_BRANDING_SLIDESHOW" ] || exit 0
for arg in $GLOBAL_INSTALL2_BRANDING_SLIDESHOW; do
echo "${arg/:/=}" >> /etc/alterator/slideshow.conf
done