summaryrefslogtreecommitdiff
authorclem <clem>2004-08-05 22:50:07 (UTC)
committer clem <clem>2004-08-05 22:50:07 (UTC)
commit75286b93291026578a6352797c830787a9401055 (patch) (unidiff)
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,12 +1,11 @@
1Package: opie-multiauth-bluepingplugin 1Package: opie-multiauth-bluepingplugin
2Files: plugins/security/libmultiauthbluepingplugin.so* pics/security/bluepingplugin.png 2Files: plugins/security/libmultiauthbluepingplugin.so* pics/security/bluepingplugin.png root/etc/suspend-scripts/S50bluetooth
3Priority: optional 3Priority: optional
4Section: opie/settings 4Section: opie/settings
5Maintainer: Clement Seveillac <clement@nist.gov> 5Maintainer: Clement Seveillac <clement@nist.gov>
6Architecture: arm 6Architecture: arm
7Version: 0.0.2.5 7Version: 0.0.2.7
8Depends: libopiecore2, opie-security, bluez-utils 8Depends: libopiecore2, opie-security, bluez-utils (<= 2.3rel-hh5)
9Description: Blueping plugin for opie-security authentication. 9Description: Blueping plugin for opie-security authentication.
10 This is a bluetooth-based authentication plugin (you need 10 This is a bluetooth-based authentication plugin (you need
11 to have another Bluetooth device around, the more secure the 11 to have another Bluetooth device around to use it).
12 bonding they made, the more secure the authentication)
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 @@
1#!/bin/sh
2
3killall -HUP hciattach
4