Compare commits

...

3 Commits

Author SHA1 Message Date
19a400d2f3 nummer5 scripts to other project 2024-03-03 10:11:02 +01:00
4bbdd7cb3d server status for nomad 2024-02-29 13:00:07 +01:00
a4af7c430a loads of stuff changed 2024-02-29 11:45:54 +01:00
13 changed files with 5 additions and 25 deletions

View File

@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?><pydev_project>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python interpreter</pydev_property>
</pydev_project>

0
duply-backup-lenny.sh Executable file → Normal file
View File

0
kino/kino_an.sh Executable file → Normal file
View File

0
kino/kino_aus.sh Executable file → Normal file
View File

0
kino/truhe_an.sh Executable file → Normal file
View File

0
kino/truhe_aus.sh Executable file → Normal file
View File

0
mqtt/remove_retained_topic.sh Executable file → Normal file
View File

View File

@@ -1,2 +0,0 @@
hosts="pine01.wks pine02.wks pine03.wks pine04.wks pine05.wks adm01.wks ebin01.wks ebin02.wks"
domain="wks"

View File

@@ -1,12 +0,0 @@
#!/bin/bash
. hosts.conf
host=$1
hostname=$(echo ${host} | sed s/\.${domain}//)
MOSQ="mosquitto_pub -h mqtt.wks -t switch_cloud/switch/${hostname}/command -m"
echo "${host} turning it off"
${MOSQ} OFF
sleep 2
echo "${host} turning it on"
${MOSQ} ON
ping -W 1 ${host}

View File

@@ -1,9 +0,0 @@
#!/bin/bash
. hosts.conf
for host in $hosts; do
if ping -c 1 -W 1 "$host" >/dev/null; then
echo "$host is alive"
else
echo "$host is pining for the fjords"
fi
done

0
raspbmc-backup-fresh.sh Executable file → Normal file
View File

0
raspbmc-backup.sh Executable file → Normal file
View File

0
raspbmc-restore.sh Executable file → Normal file
View File