summaryrefslogtreecommitdiff
authorclem <clem>2004-08-05 22:50:07 (UTC)
committer clem <clem>2004-08-05 22:50:07 (UTC)
commit75286b93291026578a6352797c830787a9401055 (patch) (side-by-side diff)
treeafdb5c29bbf521b94b2c8e079526194c96ff2804
parent744406dc39f8f7b414d0a1c14c0a2177a4f1ffd2 (diff)
downloadopie-75286b93291026578a6352797c830787a9401055.zip
opie-75286b93291026578a6352797c830787a9401055.tar.gz
opie-75286b93291026578a6352797c830787a9401055.tar.bz2
opie-multiauth-bluepingplugin now requires bluetooth to be properly shut down,
through this new script, before suspend, so hciattach does not 'pretend' that Bluetooth is still working just after resuming. New versions (> Familiar 0.7.2) of bluez package might take care of that...
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/securityplugins/blueping/bluepingplugin.control9
-rwxr-xr-xroot/etc/suspend-scripts/S50bluetooth4
2 files changed, 8 insertions, 5 deletions
diff --git a/noncore/securityplugins/blueping/bluepingplugin.control b/noncore/securityplugins/blueping/bluepingplugin.control
index 0344645..0339996 100644
--- a/noncore/securityplugins/blueping/bluepingplugin.control
+++ b/noncore/securityplugins/blueping/bluepingplugin.control
@@ -1,3 +1,3 @@
Package: opie-multiauth-bluepingplugin
-Files: plugins/security/libmultiauthbluepingplugin.so* pics/security/bluepingplugin.png
+Files: plugins/security/libmultiauthbluepingplugin.so* pics/security/bluepingplugin.png root/etc/suspend-scripts/S50bluetooth
Priority: optional
@@ -6,7 +6,6 @@ Maintainer: Clement Seveillac <clement@nist.gov>
Architecture: arm
-Version: 0.0.2.5
-Depends: libopiecore2, opie-security, bluez-utils
+Version: 0.0.2.7
+Depends: libopiecore2, opie-security, bluez-utils (<= 2.3rel-hh5)
Description: Blueping plugin for opie-security authentication.
This is a bluetooth-based authentication plugin (you need
- to have another Bluetooth device around, the more secure the
- bonding they made, the more secure the authentication)
+ to have another Bluetooth device around to use it).
diff --git a/root/etc/suspend-scripts/S50bluetooth b/root/etc/suspend-scripts/S50bluetooth
new file mode 100755
index 0000000..e6fa4a0
--- a/dev/null
+++ b/root/etc/suspend-scripts/S50bluetooth
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+killall -HUP hciattach
+