summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/LinHES-system/LinHES-session21
-rw-r--r--abs/core/LinHES-system/PKGBUILD4
2 files changed, 22 insertions, 3 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session
index e4833fa..8b5bac4 100755
--- a/abs/core/LinHES-system/LinHES-session
+++ b/abs/core/LinHES-system/LinHES-session
@@ -47,7 +47,15 @@ export MALLOC_CHECK_=0
}
function msg_osd(){
- echo -e "$1" | osd_cat --pos=middle --align=center --offset=200 --delay=5 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font &
+ ps -ef | grep -v grep | grep osd_cat
+ rc=$?
+ while [ $rc = 0 ]
+ do
+ ps -ef | grep -v grep | grep osd_cat
+ rc=$?
+ done
+
+ echo -e "$1" | osd_cat --pos=middle --align=center --offset=200 --delay=5 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font
}
function msg_pyosd(){
@@ -164,6 +172,16 @@ function show_help_tip(){
fi
}
+function notify_scan(){
+ sleep 2
+ if [ -e /tmp/scan_report ]
+ then
+ msg "\n\nNew storage found. \nRun /usr/LH/bin/add_storage.py for details"
+ fi
+
+ }
+
+
function update_apple_trailers(){
#update apple trailers
if [[ x$RunFrontend = x1 && -f ~/.configure ]]
@@ -325,6 +343,7 @@ else
run_tilda
start_screensaver
show_help_tip
+ notify_scan &
update_apple_trailers
first_configure
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index 439ff14..b1f0ea5 100644
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-system
pkgver=2
-pkgrel=31
+pkgrel=32
arch=('i686')
MVDIR=$startdir/pkg/usr/LH
BINDIR=$startdir/pkg/usr/bin
@@ -48,7 +48,7 @@ build() {
mkdir $startdir/pkg/etc/logrotate.d
cp $startdir/myth_mtc.lr $startdir/pkg/etc/logrotate.d
}
-md5sums=('71a1fc9b01476b0b2c30596107eeff75'
+md5sums=('a0fc7ae1a80b151ab9d247b84c1272a6'
'5881bdb43d578ec3a79d1f77ea58a3db'
'a875ee97f86e46f34a741c2bc455f894'
'76b2637cac0452b3acdbeeb4e8a5474b'