summaryrefslogtreecommitdiffstats
path: root/usr/lib/autowifi/lib/plugin_core
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-09-27 01:00:45 +0200
committerlassulus <lassulus@googlemail.com>2013-09-27 01:00:45 +0200
commit7823e04b4b3f83f1efcc60f11892714b208db96c (patch)
tree58ed873d41472bd038777327500e4f3dfe80d0e7 /usr/lib/autowifi/lib/plugin_core
parentfef22e8458d721c665709aa521d03128f30d0d40 (diff)
implement painmode
Diffstat (limited to 'usr/lib/autowifi/lib/plugin_core')
-rw-r--r--usr/lib/autowifi/lib/plugin_core3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/lib/autowifi/lib/plugin_core b/usr/lib/autowifi/lib/plugin_core
index 1b83b0c3..700d15f8 100644
--- a/usr/lib/autowifi/lib/plugin_core
+++ b/usr/lib/autowifi/lib/plugin_core
@@ -36,3 +36,6 @@ check_vendor_mac(){
done
return 1
}
+check_painmode(){
+ test -n "${painmode:-}" && echo "painmode required">&2 && exit 1
+}