diff options
author | James Meyer <james.meyer@operamail.com> | 2010-11-07 18:07:54 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-11-07 18:07:54 (GMT) |
commit | 6bcc5322c2a04bac54a5ece548478f93cae246f0 (patch) | |
tree | 1d16d56402840bac5b0d1e651ad075c0f837b0df /abs/core/runit-scripts/fbsplash-runit.sh | |
parent | 181eafab8fbe39fa6c76f4e6a375e268e7a136a8 (diff) | |
download | linhes_pkgbuild-6bcc5322c2a04bac54a5ece548478f93cae246f0.zip linhes_pkgbuild-6bcc5322c2a04bac54a5ece548478f93cae246f0.tar.gz linhes_pkgbuild-6bcc5322c2a04bac54a5ece548478f93cae246f0.tar.bz2 |
runit-scripts: fix stat_runit so that it works when splash is not used or installed.
Diffstat (limited to 'abs/core/runit-scripts/fbsplash-runit.sh')
-rwxr-xr-x | abs/core/runit-scripts/fbsplash-runit.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/fbsplash-runit.sh b/abs/core/runit-scripts/fbsplash-runit.sh index fb132b8..90430dd 100755 --- a/abs/core/runit-scripts/fbsplash-runit.sh +++ b/abs/core/runit-scripts/fbsplash-runit.sh @@ -27,4 +27,12 @@ then var_save STEP_NR CURRENT_PROGRESS } +else + stat_runit(){ + + printf "${C_OTHER}${PREFIX_REG} ${C_MAIN}${1}${C_CLEAR} " + printf "${SAVE_POSITION}" + deltext + printf " ${C_OTHER}[${C_BUSY}BKGD${C_OTHER}]${C_CLEAR} " + } fi |