Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing .adoc files to the tarball #561

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ man_ROFF_FILES=\
$(man_ADOC_FILES:.adoc=.roff)

EXTRA_DIST+=\
$(man_ADOC_FILES)
$(man_ADOC_FILES) \
doc/man/example-allow-device.adoc \
doc/man/example-initial-policy.adoc \
doc/man/footer.adoc

CLEANFILES+=\
$(man_ROFF_FILES) \
Expand Down
4 changes: 2 additions & 2 deletions doc/man/example-allow-device.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
....
# Allow a device by ID(it is the very first number from the list-devices command output)
$ sudo usbguard allow-device 10
$ usbguard allow-device 10
# Allow all devices named "Dell Wired Multimedia Keyboard"
$ sudo usbguard allow-device name \"Dell Wired Multimedia Keyboard\"
$ usbguard allow-device name \"Dell Wired Multimedia Keyboard\"
....
2 changes: 1 addition & 1 deletion doc/man/example-initial-policy.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
....
$ sudo usbguard generate-policy > rules.conf
$ usbguard generate-policy > rules.conf
$ vi rules.conf
(review/modify the rule set)
$ sudo install -m 0600 -o root -g root rules.conf /etc/usbguard/rules.conf
Expand Down