It uses mtd, so doesn't require any special adjustments for new target.
It has been succesfully tested (reading, writing and commiting).
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42521
somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.
myfunction()
{
fire_command
return $?
}
a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:
http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 42278
Patch to BusyBox Makefile to fix linker errors when PAM support is enabled by
CONFIG_BUSYBOX_CONFIG_PAM=y. Typical errors include:
login.c:(.text.login_main+0x122): undefined reference to `pam_start'
Signed-off-by: Stephen Parry <sgparry@mainscreen.com>
SVN-Revision: 42195
* set the system time/data
* "ubus call gps info" will tell you lattitude, longitude, elevation, speed and bearing
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41929
Even if enabled option is missing from ntp configuration we are still keeping
default behavior.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 41355
The CLI now describes expression errors more precisely, e.g.:
Syntax error: Invalid escape sequence
In expression @["foo\x"]
Near here ----------^
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41266
This commit renames the jsonpath binary to jsonfilter to avoid clashing with a Python
extension of the same name.
The utility itself has been rewritten to use SQLite3's lemon parser generator instead
of a flex/bison combination which results in a much smaller binary.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41258
ubiblock allows creating and removing read-only block devices
on top of ubi volumes.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 41033
The sulogin tool doesn't compile because it cannot find shadow.h. As the
tool is not available in openwrt it is now not selected during the build
process.
Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>
SVN-Revision: 40930
Patch sets the source IP address of DHCP request messages during rebind to the IP address
assigned to the udhcpc client. Source address 0.0.0.0 can only be used by a client prior
to obtaining its IP address (see RFC2131 § 4.1). Source IP address behavior lines up now with
the ISC dhcp client implementation for DHCP request messages during rebind and DHCP release
messages.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 40878
Some boards have the WLAN EEPROM stored in flash in big-endian format,
whereas the driver requires the EEPROM in little-endian format. The
conv=swab option in dd is particularly useful in this case. This patch
backports this feature from busybox-1.22 based on the following commits:
commit b941316ae5313be523b64f0a9151ee4decb2b35b dd: support conv=swab
commit 8395bd3f52f8ed46fa3ffc316b2d113afa748bae dd: fix example in a
comment. No code changes.
commit 5b9910f0a4a1b7976c46e6f849aaa263180e5521 dd: fail if swab is
attempted on odd-sized block
commit 0ff0b320a2dbb5e0b5fa245ffd9b2648d7026843 dd: code shrink
v2: include the commit messages from upstream
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 40327
Minor fix to existing patch which did not correctly implement -n support for the export command in ash. The VEXPORT flag of a variable was set in the first call to setvareq() and then remained set in the subsequent call, because the variable already existed in the environment.
Although /lib/functions.sh by default does not export variables (NO_EXPORT=1), this issue was leading to dirty environments.
Without this fix:
(ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B"
1, 2
With this fix:
(ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B"
1,
Signed-off-by: Christophe Lermytte <openwrt@lermytte.be>
SVN-Revision: 39968
https://dev.openwrt.org/ticket/14762
Signed-off-by: Alif M. Ahmad <ama_alif@yahoo.co.id>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39317
The devmem applet allows poking at HW registers and as such is a
valuable tool to have to avoid recompiling kernels or resorting to
external HW adapters to modify HW behavior.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39285