diff options
author | Cecil <knoppmyth@gmail.com> | 2012-05-14 01:38:13 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2012-05-14 01:38:13 (GMT) |
commit | 6fa6efd0975ac9e669ee73fe009c25fe739ac017 (patch) | |
tree | b4e1cdb3e3001a1209fe932b2e26db33b0ed9120 /abs/core/LinHES-config/install_functions.sh | |
parent | e465b073524b59ea2b795d525cf39675857cf2ee (diff) | |
parent | c04f2dfff3a4abbe0e3b4a7247f0001f797b07ac (diff) | |
download | linhes_pkgbuild-6fa6efd0975ac9e669ee73fe009c25fe739ac017.zip linhes_pkgbuild-6fa6efd0975ac9e669ee73fe009c25fe739ac017.tar.gz linhes_pkgbuild-6fa6efd0975ac9e669ee73fe009c25fe739ac017.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-x | abs/core/LinHES-config/install_functions.sh | 8 |
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 } |