This website requires JavaScript.
Explore
Help
Register
Sign in
KumiSystems
/
openwrtv4
Watch
1
Star
0
Fork
You've already forked openwrtv4
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
3760b95702
openwrtv4
/
target
/
linux
/
ramips
/
base-files
/
etc
/
hotplug.d
/
usb
/
10-motion
2 lines
55 B
Text
Raw
Normal View
History
Unescape
Escape
scripts: fix wrong usage of '==' operator [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911
2014-10-14 12:21:11 +00:00
[ "$ACTION" = "motion" ] && logger webcam motion event
Reference in a new issue
Copy permalink