summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-10-27 14:00:24 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-10-27 14:00:24 -0200
commit6f2622530468574a79dbe950c033cbf73f4060de (patch)
treec929e3c7c8f665f9d249a9d8b25c4cea6653786c
parent601eb9c3e9bd140745d62e9931bb5c2a8be85724 (diff)
downloadhydra-6f2622530468574a79dbe950c033cbf73f4060de.tar.gz
hydra-6f2622530468574a79dbe950c033cbf73f4060de.tar.bz2
Usb: load config
-rwxr-xr-xshare/hydractl/usb-disable4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/hydractl/usb-disable b/share/hydractl/usb-disable
index 0ee2471..d3684c7 100755
--- a/share/hydractl/usb-disable
+++ b/share/hydractl/usb-disable
@@ -6,6 +6,10 @@
# http://marc.info/?l=git-commits-head&m=131166366113680&w=2
# https://github.com/dkopecek/usbguard (alternative approach)
+# Load.
+source $APP_BASE/lib/hydra/functions || exit 1
+hydra_config_load
+
# Parameters
BASENAME="`basename $0`"