Commit Graph

14 Commits (2ae05c57f8d4cb557a5ea733c2795b8462f00062)

Author SHA1 Message Date
John Crispin 2ae05c57f8 package/*: remove useless explicit set of function returncode
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
10 years ago
John Crispin f63bb0adbd ubox: fix remote logging
in r41439 a flag for enabling remote logging was added,
but the actual check was done on a different variable.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 41467
10 years ago
John Crispin ea535a9565 ubox: add a flag that allows us to disable remote log while keeping the ip settings inside uci
this makes webui foo a lot easier

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41439
10 years ago
John Crispin ca4078c110 ubox: update to latest git head
logread now shows the right time.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39951
10 years ago
John Crispin bc6223666e ubox: update to latest git head
use the fd handover api of ubus to transfer log data
the uci option log_buffer_size can be used to override the default size of 16k

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39898
10 years ago
John Crispin f9f8948c6e ubox: logd did not register its config.reload trigger properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39616
10 years ago
John Crispin eceea6d6e1 ubox: revert log buffer size changes
the fix horribly broke existing setups

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39366
10 years ago
John Crispin 1de0eac947 ubox: update to latest git head
adds option to set internal buffer size

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39333
10 years ago
John Crispin e231f82cc0 ubox: fix up pidcount handling inside log.init
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39022
11 years ago
Jo-Philipp Wich cdbff3641b Revert "ubox: the validation code has problems with the "(" char. use string for now"
This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b.

SVN-Revision: 38937
11 years ago
John Crispin fc3c72aba6 ubox: the validation code has problems with the "(" char. use string for now
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38916
11 years ago
John Crispin 637440c415 ubox: fix typo that caused log_file to not be validated properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38906
11 years ago
John Crispin 1b3a423ad5 procd: add validation to the log init script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38879
11 years ago
John Crispin 5fbfffe7f4 procd: ubox: update to latest git head
move log service from procd to ubox
some debloating on procd
the preinit part of procd is now also a seperate binary

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38822
11 years ago