aboutsummaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/uci-defaults
Commit message (Collapse)AuthorAge
* base-files: reduce IPv6 ULA prefix generation to a single callPaul Donald2024-04-18
| | | | | | | | | | | Reduce calls and pipes and read from urandom once directly with hexdump for the necessary 5 bytes of random data to build the 48 bit ULA Prefix. Fewer calls and forks; finish quicker; less memory used. Tested on: 23.05.3 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
* Revert "base-files: migrate old UCI network bridge ports syntax"Rafał Miłecki2021-05-20
| | | | | | | | | This reverts commit f716c30241d5fd9d821560f58d0af0c3ffe78600. Migrating everyone to the new syntax could break downgrades. We may reintroduce it way later if needed. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* base-files: migrate old UCI network bridge ports syntaxRafał Miłecki2021-05-18
| | | | | | | | netifd has been recently patched to use more accurate "ports" option instead of "ifname". This is a simple translation between two UCI options. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* base-files: replace backticks by $(...)Adrian Schmutzler2020-07-11
| | | | | | | | | This replaces deprecated backticks by more versatile $(...) syntax. This does not touch lib/upgrade/nand.sh, as there replacement is not trivial. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* base-files: remove shebang from uci-defaults filesAdrian Schmutzler2019-11-13
| | | | | | | | | uci-defaults are sourced and non-executable, so they do not require a shebang. While at it, apply consistent naming scheme. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* base-files: remove /etc/uci-defaults/11_migrate-sysctlMatthias Schiffer2018-04-13
| | | | | | | 11_migrate-sysctl has not been updated with new file hashes since 2012. Let's get rid of it. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* base-files: fix user creation on sysupgrade with few opkg control filesMatthias Schiffer2017-01-24
| | | | | | | | | | | If only a single opkg control file exists (which can happen with CONFIG_CLEAN_IPKG), grep would not print the file name by default. Instead of forcing it using -H, we just switch to -l (print only file names) and get rid of the cut. Add -s to suppress an error message when no control files exist. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* treewide: remove bad local shell variable declarationsJo-Philipp Wich2016-09-24
| | | | | | | Local variable declarations outside of functions are illegal since the Busybox update to v1.25.0, therfore remove them from the appropriate places. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* base-files: fix group/user settings after sysupgradeJohn Crispin2016-04-29
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* base-files: remove a 'not found' error message during system bootSteven Barth2014-10-03
| | | | | | | | | | | During boot, a not found message is displayed for systems which do not have uci 'network.globals.ula_prefix' defined in /etc/config/network. The error message itself is not used and can be ignored. Signed-off-by: Michel Stam <m.stam@fugro.nl> SVN-Revision: 42755
* base-files: fix whitespacesLuka Perkov2013-12-09
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39006
* base-files: use less entropy when generating ULAsSteven Barth2013-06-06
| | | | SVN-Revision: 36865
* base-files: use numerically prefixed uci-defaults namesJo-Philipp Wich2013-01-18
| | | | SVN-Revision: 35218
* base-files: rename ULA generation scriptSteven Barth2013-01-17
| | | | SVN-Revision: 35204
* base-files: add support for ipv6-prefixes in connection with netifdSteven Barth2013-01-15
| | | | SVN-Revision: 35168
* base-files: make file compare silent in migrate-sysctlJo-Philipp Wich2012-09-17
| | | | SVN-Revision: 33449
* base-files: add uci-defaults script to migrate sysctl.conf (#12196)Jo-Philipp Wich2012-09-17
| | | | SVN-Revision: 33448
* base-files: add a uci-defaults script which will migrate the root password ↵Jo-Philipp Wich2012-01-22
to /etc/shadow if needed SVN-Revision: 29865