diff --git a/root/defaults/preferences.xml b/root/defaults/preferences.xml new file mode 100644 index 0000000..37fc999 --- /dev/null +++ b/root/defaults/preferences.xml @@ -0,0 +1,46 @@ + + + + + + /comics + + + + + + /books + + + + + true + true + true + false + 2202 + 160 + 230 + 30 + 160 + 230 + 30 + false + false + 0 + false + Default + false + 1536 + 2400 + + true + ubooquity + + + true + false + + false + false + diff --git a/root/etc/cont-init.d/30-config b/root/etc/cont-init.d/30-config index 1b647b0..c1b300e 100644 --- a/root/etc/cont-init.d/30-config +++ b/root/etc/cont-init.d/30-config @@ -4,6 +4,10 @@ mkdir -p \ config/fonts +# copy config +[[ ! -e /config/preferences.xml ]] && \ + cp /defaults/preferences.xml /config/preferences.xml + # permissions chown -R abc:abc \ /config \