diff options
Diffstat (limited to 'usr/lib/autowifi/lib/plugin_core')
-rw-r--r-- | usr/lib/autowifi/lib/plugin_core | 3 |
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 +} |