This website requires JavaScript.
Explore
Help
Sign In
fish
/
immortalwrt
Watch
1
Star
0
Fork
0
You've already forked immortalwrt
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
f755d81999
immortalwrt
/
target
/
linux
/
ramips
/
base-files
/
etc
/
hotplug.d
/
usb
/
10-motion
2 lines
55 B
Plaintext
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 20:21:11 +08:00
[ "$ACTION" = "motion" ] && logger webcam motion event
Reference in New Issue
Copy Permalink