summaryrefslogtreecommitdiff
path: root/usbctl-libre.install
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2018-09-30 16:09:14 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2018-09-30 16:09:14 -0700
commit39660fb6b98c506540113aa6d3239bb3dd04ab28 (patch)
tree0f37fc98a40f39b786b8169c313ccb2502bab36e /usbctl-libre.install
downloadusbctl-libre-39660fb6b98c506540113aa6d3239bb3dd04ab28.tar.xz
Initial commit
Diffstat (limited to 'usbctl-libre.install')
-rw-r--r--usbctl-libre.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/usbctl-libre.install b/usbctl-libre.install
new file mode 100644
index 0000000..a84ac2b
--- /dev/null
+++ b/usbctl-libre.install
@@ -0,0 +1,14 @@
+
+pre_install() {
+ cat <<EOM
+ == Important ==
+ AFTER you configure valid devices --
+ Add the sysctl intiation to a conjob by adding
+ @reboot root /usr/bin/sysctl -q kernel.deny_new_usb=1
+ to your /etc/crontab
+EOM
+}
+
+pre_upgrade() {
+ pre_install
+}