fbs annotate themes/default/init.sh @ rev 6

Add a minimal rcS boot script for example (from ARM version but usable on a desktop)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 14:14:56 2014 +0200 (2014-05-02)
parents
children
rev   line source
pankso@5 1 #!/bin/sh
pankso@5 2 # Expand the progress bar
pankso@5 3
pankso@5 4 width=$(fbset | fgrep "geometry" | cut -d " " -f 2)
pankso@5 5 bar_width=$(($width - 160))
pankso@5 6
pankso@5 7 sed -i s"/BAR_WIDTH=.*/BAR_WIDTH=$bar_width/" \
pankso@5 8 $(dirname $0)/splash.cfg