!|test.util.CallScript|
|call script|xfhem define watchdog localhost|
+Entferne Sysal-Stub-Output
+|call script|!-sudo rm /tmp/sysal-stub.out || true -!|
+
Verkürze Zeit
-|call script|/opt/fhem/fhem.pl 7072 "modify watchdog +*00:01:00"|
+|call script|/opt/fhem/fhem.pl 7072 "modify watchdog +*00:00:05"|
Warte Auslösezeit
-|call script|sleep 60|
+|call script|sleep 6|
Prüfe Watchdog
+|call script|grep rwd /tmp/sysal-stub.out|
Entferne Watchdog
|call script|xfhem delete watchdog|
+
<?xml version="1.0"?>
<properties>
- <Edit>true</Edit>
- <Files>true</Files>
- <Properties>true</Properties>
- <RecentChanges>true</RecentChanges>
- <Refactor>true</Refactor>
- <Search>true</Search>
- <Versions>true</Versions>
- <WhereUsed>true</WhereUsed>
+ <Edit/>
+ <Files/>
+ <Help></Help>
+ <Properties/>
+ <RecentChanges/>
+ <Refactor/>
+ <Search/>
+ <Suite/>
+ <Suites></Suites>
+ <Versions/>
+ <WhereUsed/>
</properties>
Package: xfhem
Architecture: all
-Depends: fhem
+Depends: fhem,sysal-util
Description: WagnerTech utilities for FHEM
chown fhem:dialout /opt/fhem/wagnertech.cfg
-if ! grep wagnertech.cfg /opt/fhem/fhem.cfg
+if ! grep wagnertech.cfg /opt/fhem/fhem.cfg >/dev/null
then
echo >> /opt/fhem/fhem.cfg
echo "# include from xfhem package" >> /opt/fhem/fhem.cfg