You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/utils/busybox
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
9 years ago
..
config busybox: update to version 1.23.2 9 years ago
files Disable telnet in favor of passwordless SSH 9 years ago
patches busybox: lock: implement -n "Fail rather than wait" 9 years ago
Config-defaults.in busybox: improve applets & deprecate ifconfig, route 9 years ago
Config.in busybox: include config files relative to the main Config.in (#18522) 10 years ago
Makefile busybox: fix ip applet and netlink behavior 9 years ago
convert_defaults.pl busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 11 years ago
convert_menuconfig.pl busybox: update to version 1.23.2 9 years ago