Skip to content

Commit

Permalink
Fix some documentation example + fix scripts path
Browse files Browse the repository at this point in the history
  • Loading branch information
xaqq committed Sep 16, 2015
1 parent 404f74d commit 824c2c8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion pkg/deb/leosacd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ LEOSAC_PID_FILE=/var/run/leosac.pid
LEOSAC_DIR="/etc/leosac.d"

## some env variable that you may customize
LEOSAC_SCRIPTS_DIR=""
LEOSAC_SCRIPTS_DIR="/usr/scripts/"
LEOSAC_FACTORY_CONFIG_DIR=""

test -x "$DAEMON" || exit 0
Expand Down
2 changes: 1 addition & 1 deletion src/modules/led-buzzer/led-buzzer.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This assume that a `my_gpio_1` and `my_gpio_2` gpios devices are configured.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.xml
<module>
<name>LED_BUZZER</name>
<file>libled.so</file>
<file>libled-buzzer.so</file>
<level>3</level>
<module_config>
<leds>
Expand Down
28 changes: 14 additions & 14 deletions src/modules/test-and-reset/TestAndReset.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,20 @@ Example {#mod_testandreset_example}
This is a example of Rpleth possible configuration for Rpleth module into Leosac:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.xml
<module>
<name>TEST_AND_RESET</name>
<file>libtest-and-reset.so</file>
<level>101</level>
<beep_on_start>false</beep_on_start>
<module>
<name>TEST_AND_RESET</name>
<file>libtest-and-reset.so</file>
<level>101</level>
<module_config>
<run_on_start>false</run_on_start>
<test_buzzer>my_buzzer</test_buzzer>
<test_led>my_blinking_led</test_led>
<module_config>
<devices>
<device>
<name>MY_WIEGAND_1</name>
<reset_card>40:a0:83:80</reset_card>
</device>
</devices>
</module_config>
</module>
<devices>
<device>
<name>MY_WIEGAND_1</name>
<reset_card>40:a0:83:80</reset_card>
</device>
</devices>
</module_config>
</module>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 changes: 1 addition & 1 deletion src/modules/wiegand/Wiegand.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ This is a example of Rpleth possible configuration for Rpleth module into Leosac

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.xml
<module>
<name>WIEGAND</name>
<name>WIEGAND_READER</name>
<file>libwiegand.so</file>
<level>5</level>
<module_config>
Expand Down

0 comments on commit 824c2c8

Please sign in to comment.