openwrt/package
Felix Fietkau 3670f4128d busybox: lock: implement -n "Fail rather than wait"
lock -n is similiar to flock -n. If the lock was already taken,
fail with exit code = 1 and write error message to stderr.

example:
if ! lock -n /tmp/foo ; then
	echo lock exits.
else
	echo lock was free. But is locked now.
fi
> lock was free. But is locked now.
> lock exists.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 46836
2015-09-09 20:36:10 +00:00
..
base-files base-files: add /etc/iproute2/rt_tables, replace ifconfig-usage 2015-09-08 17:44:13 +00:00
boot uboot-ar71xx: fix gcc 5.2 compile errors 2015-09-06 09:57:02 +00:00
devel gdb: update to the latest version, fixes a build error with gcc 5.2 2015-09-03 13:14:50 +00:00
firmware kernel: add staging r8188eu module (3.13) 2014-04-30 21:53:29 +00:00
kernel linux: make IPv6 builtin if selected (saves >30KB) 2015-09-09 12:20:36 +00:00
libs argp-standalone: fix build error with gcc 5.2 (#20460) 2015-09-08 07:10:07 +00:00
network linux: make IPv6 builtin if selected (saves >30KB) 2015-09-09 12:20:36 +00:00
system uci: update to the latest version, adds various fixes 2015-08-27 12:43:27 +00:00
utils busybox: lock: implement -n "Fail rather than wait" 2015-09-09 20:36:10 +00:00
Makefile build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00