]> www.vanbest.org Git - motioneye-debian/commitdiff
Update relayevent.sh
authorCalin Crisan <ccrisan@gmail.com>
Tue, 13 Jun 2017 08:57:51 +0000 (11:57 +0300)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2017 08:57:51 +0000 (11:57 +0300)
remove debugging leftover in relayevent.sh

motioneye/scripts/relayevent.sh

index 5130fb4192ff56cf5ebc2c749920242061a68826..1d9839aae34b4b84469f42193d1c1f69a8acf896 100755 (executable)
@@ -16,7 +16,6 @@ if [ -f "$motioneye_conf" ]; then
         if [ -r "$motion_conf" ]; then
             username=$(cat $motion_conf | grep 'admin_username' | cut -d ' ' -f 3)
             password=$(cat $motion_conf | grep 'admin_password' | cut -d ' ' -f 3 | sed -r 's/[^][a-zA-Z0-9/?_.=&{}":, _]/-/g')
-            echo "aa${password}aa" > /tmp/wtf
         fi
     fi
 fi