From 6bcc5322c2a04bac54a5ece548478f93cae246f0 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sun, 7 Nov 2010 18:07:54 +0000
Subject: runit-scripts: fix  stat_runit so that it works when splash is not
 used or installed.

---
 abs/core/runit-scripts/PKGBUILD          | 5 +++--
 abs/core/runit-scripts/fbsplash-runit.sh | 8 ++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 46c55b6..174bf69 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=runit-scripts
 pkgver=2.1.1
-pkgrel=2
+pkgrel=4
 pkgdesc="collection of startup scripts for runit"
 url="http://smarden.org/runit/"
 license="BSD"
@@ -29,4 +29,5 @@ build() {
   rsync -a --exclude=.svn services/* $startdir/pkg/etc/sv
 }
 
-md5sums=('46f6261239a06a192a08d10663df0273')
+md5sums=('701fc39d1578b56e7702b1393d8a2b2e')
+md5sums=('fdc7aee7ce323f1e55060e2da54a9534')
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
-- 
cgit v0.12

