Commit Graph

5 Commits

Author SHA1 Message Date
blogic cb8f6fa0b4 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>

Backport of r42278

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:54 +00:00
blogic 9558acae1a busybox: Fix pam_start link errors when PAM support is enabled
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>

Backport of r42195

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:36 +00:00
blogic 2aa2bb7b47 robocfg: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41959

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:57 +00:00
blogic d7cd6a0428 ugps: add a minimal gps daemon
* 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>

Backport of r41929

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:42 +00:00
nbd e345c9a277 create branch for barrier breaker (from trunk r41863)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 23:18:57 +00:00