summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/install_functions.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-05-10 20:06:52 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-05-10 20:06:52 (GMT)
commitde75425bb04ae1a0b3e4f58baf53d23785dd1287 (patch)
tree12bab7cf533e8dbd90cc49268ee98b8daa0230ed /abs/core/LinHES-config/install_functions.sh
parent2b532b540f448f02d7aee7ff04fa3d31655e7f8f (diff)
parent05224a8c82df924573978ba44c897900dcd2d0eb (diff)
downloadlinhes_pkgbuild-de75425bb04ae1a0b3e4f58baf53d23785dd1287.zip
linhes_pkgbuild-de75425bb04ae1a0b3e4f58baf53d23785dd1287.tar.gz
linhes_pkgbuild-de75425bb04ae1a0b3e4f58baf53d23785dd1287.tar.bz2
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/LinHES-config/install_functions.sh')
-rwxr-xr-xabs/core/LinHES-config/install_functions.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/install_functions.sh b/abs/core/LinHES-config/install_functions.sh
index c807f15..08206fc 100755
--- a/abs/core/LinHES-config/install_functions.sh
+++ b/abs/core/LinHES-config/install_functions.sh
@@ -315,6 +315,11 @@ function in_kernel_support() {
#For disabling other protocols, adjust to the new location in 2.6.37. 91
if [ -d /sys/class/rc ] && [ "$(ls -A /sys/class/rc)" ]
then
+ LCDDSTOP=0
+ if [ -d /service/lcdd ]; then
+ sv stop lcdd
+ LCDDSTOP=1
+ fi
for file in `find /sys/class/rc/*/ -name protocols`
do
if [ "$1" = "disable" ]
@@ -327,6 +332,9 @@ function in_kernel_support() {
done
fi
done
+ if [ $LCDDSTOP -eq 1 ]; then
+ sv start lcdd
+ fi
fi
}