aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
Commit message (Collapse)AuthorAgeFilesLines
* base-files: implement network_get_gateway(), network_get_gateway6(), ↵Jo-Philipp Wich2012-06-172-1/+60
| | | | | | network_find_wan() and network_find_wan6() in /lib/functions/network.sh SVN-Revision: 32397
* base-files: enable shell tracing in initscripts when INIT_TRACE is setJo-Philipp Wich2012-06-131-1/+3
| | | | SVN-Revision: 32340
* base-files: override Build/Compile/Default instead of Build/Compile (fixes ↵Felix Fietkau2012-06-131-1/+2
| | | | | | #11667) SVN-Revision: 32339
* base-files: move all toolchain packages to a separate package directory ↵Felix Fietkau2012-06-101-543/+2
| | | | | | 'toolchain' SVN-Revision: 32169
* base-files: implement network_defer_device() and network_ready_device() ↵Jo-Philipp Wich2012-06-071-0/+16
| | | | | | wrappers for upcoming netifd iface deferring support SVN-Revision: 32106
* base-files: add permission exceptions, do not clobber shadow permissions - ↵Jo-Philipp Wich2012-06-051-0/+4
| | | | | | based on patch by Mark Mentovai <mark@moxienet.com> SVN-Revision: 32073
* base-files: ship a static initial shadow db instead of creating it from ↵Jo-Philipp Wich2012-06-052-4/+5
| | | | | | passwd with sed, this fixes registering of users at compile time SVN-Revision: 32064
* base-files: make user_add() populate the shadow db as wellJo-Philipp Wich2012-06-052-1/+2
| | | | SVN-Revision: 32063
* /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-058-9/+9
| | | | SVN-Revision: 32062
* base-files: add LED specific functions to /lib/functions/uci-defaultsGabor Juhos2012-05-291-0/+98
| | | | SVN-Revision: 31991
* base-files: remove base-files-network, netifd is the only supported option nowFelix Fietkau2012-05-291-7/+1
| | | | SVN-Revision: 31980
* base-files: add network_is_up()Jo-Philipp Wich2012-05-291-0/+6
| | | | SVN-Revision: 31978
* base-files: let network_get_device() return the l3 interface, introduce ↵Jo-Philipp Wich2012-05-291-4/+6
| | | | | | network_get_physdev() to obtain the underlying iface (if applicable) SVN-Revision: 31960
* base-files: add network_get_device() to network.shJo-Philipp Wich2012-05-281-0/+15
| | | | SVN-Revision: 31937
* base-files: introduce /lib/functions/network.sh This file will contain ↵Jo-Philipp Wich2012-05-282-1/+42
| | | | | | common procedures to deal with network interfaces. Initially provides network_get_ipaddr(), network_get_ipaddr6(), network_get_subnet() and network_get_subnet6() to determine the primary IP addresses or subnets of a given logical interface. SVN-Revision: 31935
* base-files: kill ubusd and udhcpc on sysupgrade as wellFelix Fietkau2012-05-231-1/+1
| | | | SVN-Revision: 31852
* base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgradeFelix Fietkau2012-05-231-1/+1
| | | | SVN-Revision: 31851
* package/base-files: copy /lib/functions.sh to the ramfs on sysupgradeGabor Juhos2012-05-231-1/+1
| | | | SVN-Revision: 31842
* enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS ↵Felix Fietkau2012-05-141-3/+3
| | | | | | in a few relevant places SVN-Revision: 31730
* base-files: wait for wifi modules to settleJonas Gorski2012-05-061-0/+3
| | | | | | | | | | On slower devices wifi drivers might take too long for detecting devices, resulting in the wifi detect call not seeing them. This was observed on a bcm6348 with bcm4318 wifi. Adding a one second pause was enough for b43 to expose the device. SVN-Revision: 31639
* remove special treatment when using glibc - support got droppedMirko Vogt2012-04-281-3/+3
| | | | SVN-Revision: 31504
* purge support for glibc - use eglibc instead!Mirko Vogt2012-04-282-6/+2
| | | | | | for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html SVN-Revision: 31503
* base-files: fix typo in 05_firstboot_skip script (#11359)Florian Fainelli2012-04-272-2/+2
| | | | SVN-Revision: 31492
* base-files: rename internal variables in config_foreach to make namespace ↵Felix Fietkau2012-04-211-4/+4
| | | | | | conflicts more unlikely SVN-Revision: 31431
* enable ntpd server for busyboxJo-Philipp Wich2012-04-202-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hi Another version, in this one the enable_server option is in the timeserver ntp part of the "system" config file You can patch trunk and bacfire (tested both) You can put busybox ntpd in client mode (if you put server), in client & server (by putting enable_server to 1, ntpd listen to udp 123), and also in server mode only (if you didn't put any servers in the config and still put enable_server 1, ntpd will answer with the time of the router) I've replaced "config_foreach getpeers timeserver" with "config_get peers ntp server" because we want ntp timeserver, not random ones (to pre-answer if someone want to say that it's intrusive ...) Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> Le 27/03/2012 20:41, Etienne Champetier a écrit : > I've now tested my trunk patch and it works fine > But I still can't find were $PROG is defined (is this a mistake, or some sort of built in variable???) > (I've made some grep and nothing) > > Le 23/03/2012 02:19, Philip Prindeville a écrit : >> Maybe: >> >> [ -n "$PROG" -a -x "$PROG" ] || return 1 >> >> instead? >> >> >> On 3/22/12 4:34 PM, Etienne Champetier wrote: >>> Hi >>> >>> The 2 attached patchs (trunk & bacfire) add busybox ntpd enable_server option, as busybox ntpd server is compiled by default. >>> We only need 1 client/server daemon (olipro patch was launching 2 daemons) >>> I've fully tested the bacfire patch, and as i don't have a running openwrt trunk i'm not sure for the trunk patch (i'm sure about my modifications, but i'm not sure about "[ -x $PROG ] || return 1", as "$PROG" isn't defined ?!) >>> >>> Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> >>> >>> >>> Le 16/01/2012 01:57, Philip Prindeville a écrit : >>>> On 1/14/12 11:37 AM, Olipro wrote: >>>>> On Saturday 14 Jan 2012 02:45:59 Philip Prindeville wrote: >>>>>> Don't we already have a 'disabled' option? Now we're adding an >>>>>> 'enable_server' option? >>>>>> >>>>>> That seems confusing for no useful reason. >>>>>> >>>>> have you bothered to read what I originally wrote? your response would make >>>>> me inclined to believe that you didn't. >>>>> >>>>> currently the ntpd initscript only runs it as a CLIENT - this patch enables >>>>> you to have one instance running as a client and another as a SERVER that >>>>> other hosts can synchronise with. >>>>> >>>>> Or perhaps I'm misunderstanding, what would you propose for allowing the >>>>> built-in busybox ntpd to be utilised as a server? a separate init script >>>>> entirely perhaps? >>>> Or separate config sections... instead of 'config ntp' have 'config ntp-server' and 'config ntp-client'. >>>> >>>> -Philip >>>> >>>> >>>> _______________________________________________ >>>> openwrt-devel mailing list >>>> openwrt-devel@lists.openwrt.org >>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel >> _______________________________________________ >> openwrt-devel mailing list >> openwrt-devel@lists.openwrt.org >> https://lists.openwrt.org/mailman/listinfo/openwrt-devel > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel SVN-Revision: 31374
* base-files: reformat banner to better work with varying version string ↵Jo-Philipp Wich2012-04-153-4/+6
| | | | | | lengths, do not set image options if menu is disabled (#11280) SVN-Revision: 31289
* base-file: cleanup white space in Kconfig sourceJo-Philipp Wich2012-04-121-88/+88
| | | | SVN-Revision: 31267
* include, base-files, opkg: introduce version configuration to override the ↵Jo-Philipp Wich2012-04-125-4/+69
| | | | | | | | | | | | | | | | | | | | embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner The available placeholders are: %D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt" %d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt") %N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment") %n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment") %V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262") %v .. Like %V, but all characters made lowercase and spaces substituted with "_" %C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge" %c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge") %U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages" %R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c") %T .. Replace with the current target (e.g. "ar71xx") %S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le") SVN-Revision: 31262
* base-files: remove network preconfig, it collides with ar71xx network ↵Jo-Philipp Wich2012-04-121-5/+0
| | | | | | firstboot uci-defaults To supply custom network settings, it is better to embed a complete network config file using the files/ overlay, the old image lan preconfig options are also very limited in scope and actually collide with sysupgrade and firstboot hardware detection on at least ar71xx and possibly other targets, therfore drop this facility. SVN-Revision: 31258
* base-files: split service related functions off to /lib/functions/service.shFelix Fietkau2012-03-203-129/+131
| | | | SVN-Revision: 31042
* Add munin to /etc/servicesJo-Philipp Wich2012-03-181-0/+1
| | | | | | | | | | | | The muninlite postinst fails to add munin to /etc/services. This patch removes this broken postinst and add an entry for munin in /etc/services. This should have been done when the rest of the /etc/services postinsts were being removed (changesets 26142-26149). Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> SVN-Revision: 30982
* base-files: remove old coldplugging hacks that are no longer necessary since ↵Felix Fietkau2012-03-131-10/+0
| | | | | | the new main hotplug2 instance calls udevtrigger as well SVN-Revision: 30916
* base-files: enable conntrack accounting in sysctl. It used to be a compile ↵Jo-Philipp Wich2012-03-042-1/+2
| | | | | | time option which got deprecated SVN-Revision: 30805
* base-files: remove trailing whitespaces from lib/functions/boot.shGabor Juhos2012-03-021-4/+4
| | | | SVN-Revision: 30776
* base-files: remove trailing whitespaces from lib/functions.shGabor Juhos2012-03-021-10/+10
| | | | SVN-Revision: 30775
* base-files: add a uci-defaults script which will migrate the root password ↵Jo-Philipp Wich2012-01-222-1/+13
| | | | | | to /etc/shadow if needed SVN-Revision: 29865
* base-files: the initial hotplug2 instance sometimes misses a few relevant ↵Felix Fietkau2012-01-221-0/+1
| | | | | | events, e.g. during module load. rerun udevtrigger for the final hotplug2 instance to fix this SVN-Revision: 29862
* base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so to ↵Jo-Philipp Wich2012-01-192-2/+1
| | | | | | hotplug2 anymore, its statically linked - patch by Viktar Palstsiuk <viktar.palstsiuk@promwad.com> SVN-Revision: 29806
* base-files: implement a --force option for sysupgrade to override image ↵Jo-Philipp Wich2012-01-082-4/+13
| | | | | | checks, useful to upgrade old ar71xx installations to current trunk ones SVN-Revision: 29688
* package/base-files: add support for the switch LED triggerGabor Juhos2011-12-312-1/+9
| | | | SVN-Revision: 29629
* package/base-files: use case statement in led init scriptGabor Juhos2011-12-311-15/+27
| | | | SVN-Revision: 29628
* base-files: add -b (--create-backup) option to sysupgrade, which generates a ↵Jo-Philipp Wich2011-12-202-3/+27
| | | | | | backup .tar.gz according to the user settings. This will also be reused by LuCI. SVN-Revision: 29587
* base-files: add lib/functions/uci-defaults.shGabor Juhos2011-12-011-0/+88
| | | | SVN-Revision: 29384
* base-files: kill remaining processes after running user hooks (#10461)Jo-Philipp Wich2011-11-192-3/+3
| | | | SVN-Revision: 29256
* base-files: another empty password check fix (#10440)Jo-Philipp Wich2011-11-172-2/+2
| | | | SVN-Revision: 29208
* base-files: now that we have date -k, adjust the kernel timezone after ↵Jo-Philipp Wich2011-11-172-2/+5
| | | | | | setting up TZ and localtime SVN-Revision: 29204
* base-files: rewrite killing of nonessential services to not rely on top, use ↵Jo-Philipp Wich2011-11-162-10/+18
| | | | | | the proc filesystem only SVN-Revision: 29187
* base-files: prime root password with "x" to notify programs that there is a ↵Jo-Philipp Wich2011-11-143-3/+6
| | | | | | shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935. SVN-Revision: 29130
* package/base-files: enhance service functionsNicolas Thill2011-11-121-13/+27
| | | | | | | | * 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
* base-files: now that the initial password is completely empty (and not ↵Jo-Philipp Wich2011-11-112-3/+3
| | | | | | primed with "!") adjust login.sh for it to make telnetd available again SVN-Revision: 28943