- Apr 07, 2014
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40401
-
- Dec 27, 2013
-
-
John Crispin authored
Signed-off-by:
Toke Høiland-Jørgensen <toke@toke.dk> SVN-Revision: 39169
-
- Nov 25, 2013
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 38909
-
- Nov 14, 2013
-
-
Gabor Juhos authored
In commit r38690, the MAC address canonicalization has been converted to use 'tr' instead of 'printf'. This only works if with MAC addresses which uses the 'xx:xx:xx:xx:xx:xx' format. However on some boards, the MAC addresses are stored in different format in the mtd partition. Some vendors are using hyphens or dots as separators instead of colons. Also the leading zeroes may be missing from the individual octets or those are replaced with spaces. Add a new function which can be used to convert these into the 'xx:xx:xx:xx:xx:xx' format. Also update the 'mtd_get_mac_ascii' function to use the new helper. The helper function is based on this code: http://isquared.nl/blog/2010/08/11/Bash-function-to-canonicalize-MAC-addresses/ Signed-off-by:
Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38803
-
- Nov 08, 2013
-
-
Gabor Juhos authored
The mtd_get_mac_ascii utility function was broken. This fixes it. - Remove the superfluous include of /lib/functions.sh. The function is already in that file so it is pointless, - only use a variable if the whole key word matches, - don't try to process the MAC address if it is empty, - use 'tr' to canonicalize the MAC address, Signed-off-by:
Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> [juhosg: add more fixes, update commit message] Signed-off-by:
Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38690
-
- Jul 20, 2013
-
-
Gabor Juhos authored
Signed-off-by:
Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37475
-
- Jun 22, 2013
-
-
John Crispin authored
the procd changes broke the postinst insmod. Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 37015
-
- Jun 21, 2013
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 37003
-
- Feb 17, 2013
-
-
Gabor Juhos authored
- update copyright header - remove superfluous shebang left-over from changeset 34794 - unify function declaration [juhosg: keep Vertical Communications' copyright notice] Signed-off-by:
Michael Heimpold <mhei@heimpold.de> Signed-off-by:
Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35646
-
- Feb 16, 2013
-
-
Gabor Juhos authored
Signed-off-by:
Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35614
-
Gabor Juhos authored
Signed-off-by:
Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35612
-
- Dec 27, 2012
-
-
Steven Barth authored
SVN-Revision: 34893
-
- Dec 19, 2012
-
-
Mirko Vogt authored
SVN-Revision: 34794
-
Mirko Vogt authored
The behaviour of calling 'mount' differed depending on whether it called the busybox-mount, the mount of util-linux, the mount defined in /lib/functions.sh and /lib/functions/boot.sh /etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh, both re-defining 'mount'. SVN-Revision: 34792
-
- Dec 12, 2012
-
-
Gabor Juhos authored
Signed-off-by:
Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34648
-
Mirko Vogt authored
Reverting commit 34641. Function find_mtd_part() is needed by some scripts deployed for certain targets but not including boot.sh after all. Still, all this certainly needs some love. SVN-Revision: 34642
-
Mirko Vogt authored
Since all scripts using this function include /lib/functions/boot.sh - where this function is defined as well - it can be dropped from /lib/functions.sh. Also avoids further confusion about this function being declared and defined in two different places. SVN-Revision: 34641
-
- Jun 05, 2012
-
-
Jo-Philipp Wich authored
SVN-Revision: 32063
-
- Apr 21, 2012
-
-
Felix Fietkau authored
SVN-Revision: 31431
-
- Mar 20, 2012
-
-
Felix Fietkau authored
SVN-Revision: 31042
-
- Mar 02, 2012
-
-
Gabor Juhos authored
SVN-Revision: 30775
-
- Nov 12, 2011
-
-
Nicolas Thill authored
* allow matching process by name (useful for processes changing it) * check if first argument is executable * fix function name used in error messages SVN-Revision: 28991
-
- Nov 09, 2011
-
-
Nicolas Thill authored
SVN-Revision: 28871
-
- Nov 08, 2011
-
-
Nicolas Thill authored
package/base-files: /lib/functions.sh: let service_stop exit early if no matching process to stop where found SVN-Revision: 28870
-
Nicolas Thill authored
* add service_check function for checking if a process is alive * add service_signal for sending arbitrary signals to a process * change service_stop to send a TERM signal first, wait for the process to die and send a KILL signal if it doen't * have service_kill print a warning on STDERR stating it has been deprecated SVN-Revision: 28865
-
Nicolas Thill authored
SVN-Revision: 28864
-
Nicolas Thill authored
SVN-Revision: 28857
-
- Apr 05, 2011
-
-
Daniel Dickinson authored
block-mount base-files: Added additional check to pi_include to ensure that a directory used with pi_include actually contains files matching the souring pattern because if not the shell dies due to an empty string in for statement. Added /lib/functions/fsck as an empty dir to block-mount. This combination fixes a warning which generates a lot of bug reports, without panicking the kernel like the last attempt. SVN-Revision: 26479
-
- Sep 23, 2010
-
-
Daniel Dickinson authored
base/block-extroot, base/block-mount: Modified preinit and block-extroot and block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done. Thanks jow for the preinit merge stuff! SVN-Revision: 23110
-
- Sep 19, 2010
-
-
Jo-Philipp Wich authored
base-files: introduce service_kill() into functions.sh - a convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill SVN-Revision: 23087
-
- Aug 14, 2010
-
-
Jo-Philipp Wich authored
base-files, uci: properly revert list state on config_load This fixes a bug where lists end up with duplicate values if config_load was invoked multiple times. SVN-Revision: 22629
-
- Dec 09, 2009
-
-
Felix Fietkau authored
SVN-Revision: 18718
-
Felix Fietkau authored
SVN-Revision: 18717
-
Felix Fietkau authored
functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases SVN-Revision: 18715
-
- Aug 07, 2009
-
-
Felix Fietkau authored
Signed-off-by:
Malte S. Stretz <mss@apache.org> SVN-Revision: 17156
-
Felix Fietkau authored
Signed-off-by:
Malte S. Stretz <mss@apache.org> Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 17155
-
- Aug 25, 2008
-
-
Florian Fainelli authored
SVN-Revision: 12386
-
- Aug 20, 2008
-
-
Felix Fietkau authored
SVN-Revision: 12353
-
- Jul 31, 2008
-
-
Felix Fietkau authored
SVN-Revision: 12036
-
- Jul 30, 2008
-
-
Felix Fietkau authored
SVN-Revision: 12025
-