diff options
Diffstat (limited to 'image/post.sh')
-rw-r--r-- | image/post.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/image/post.sh b/image/post.sh new file mode 100644 index 0000000..890a059 --- /dev/null +++ b/image/post.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +src_root=$(dirname $0) +cd ${INSTALL_ROOT} + +#for i in $(ls $src_root/../activities/*.xo); do HOME=home/olpc sugar-install-bundle $i; done +#for i in `find home/olpc/.local -type l`; do ln -fs /$(readlink $i) $i; done + +echo Installing homepage +# custom browser homepage +mkdir -p usr/share/library-common +cp $src_root/../hx_home/* usr/share/library-common/ + +cat > home/olpc/.i18n << EOF +LANG="es_PE.utf8" +LANGUAGE="es_PE.utf8" +EOF + +creds=$(ls -aldn home/olpc | awk '{print $3 ":" $4}') +chown ${creds} -R home/olpc |