aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
Commit message (Collapse)AuthorAgeFilesLines
...
* [package] base-files: prime root password with "x" to notify programs that ↵Jo-Philipp Wich2011-11-141-1/+1
| | | | | | | | | there is a shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files]: nuke another 2.4 skeletonImre Kaloz2011-11-101-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files]: the empty root password should be empty ;)Imre Kaloz2011-11-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files, target: assign name to system timeserver section, makes it ↵Jo-Philipp Wich2011-11-101-1/+1
| | | | | | easier to set servers on the cli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: move service* functions from /etc/rc.common to ↵Nicolas Thill2011-11-081-82/+0
| | | | | | /lib/functions.sh git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: move /etc/functions.sh to /lib/functions.shNicolas Thill2011-11-081-320/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: use new service wrapperNicolas Thill2011-11-073-23/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28835 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: /etc/rc.common: add service wrapper around start-stop-daemonNicolas Thill2011-11-071-1/+83
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: /etc/passwd: fix uid number for user 'daemon' ↵Nicolas Thill2011-11-071-1/+1
| | | | | | (conflicting with user 'nobody') git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28799 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: process platform hotplug calls in the early launch of hotplug2 ↵Felix Fietkau2011-11-051-0/+4
| | | | | | to avoid having crda calls get stuck at boot time (fixes #10350, #10354) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: load modules early, run wifi detect afterwards and only then ↵Felix Fietkau2011-11-031-6/+12
| | | | | | | | process uci defaults this allows uci-defaults scripts to override wifi settings git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: remove rdate integration, add busybox ntpd init script ↵Jo-Philipp Wich2011-10-274-80/+40
| | | | | | | | | | | | | | | | and server list in /etc/config/system The rdate applet proved to be too unreliable to obtain the current time on boot: - public time servers are rare and often unreachable or overloaded - rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions - the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations - the time protocol as specified in RFC 868 is considered obsolete This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly. The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or by clearing the timeserver list in /etc/config/system. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: move network related scripts to a separate package to make the ↵Felix Fietkau2011-10-204-266/+0
| | | | | | transition to netifd easier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: use "zonename" system option to symlink /etc/localtime ↵Jo-Philipp Wich2011-09-261-0/+3
| | | | | | via /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove an old network tunable tweak which is messing up network ↵Felix Fietkau2011-08-291-1/+0
| | | | | | stack performance on modern systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix arp() procedure to properly detect /usr/bin/arpJo-Philipp Wich2011-08-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: warn when calling /etc/init.d/<script> enable and neither START ↵Felix Fietkau2011-07-271-0/+4
| | | | | | nor STOP is defined git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27797 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: use uci_toggle_state() to prevent unwanted aggregation ↵Jo-Philipp Wich2011-07-152-4/+4
| | | | | | of state vars (#9711) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. ↵Daniel Dickinson2011-07-071-1/+0
| | | | | | This caused errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout. Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: pass conloglevel to syslogd (#9463, #9647)Jo-Philipp Wich2011-07-031-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: do not write to /etc/config/wireless at boot time unless a new ↵Felix Fietkau2011-06-071-3/+6
| | | | | | | | | | interface was found eliminates unnecessary flash write cycles at every boot patch by Peter Wagner (tripolar) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: retrigger usb coldplug after module loading, solves ↵Jo-Philipp Wich2011-05-081-0/+5
| | | | | | usb_modeswitch on boot and possibly others (#9352) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: fix a typo in etc/bannerGabor Juhos2011-05-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: cleanup permissions of device files in common hotplug ↵Jo-Philipp Wich2011-05-031-6/+15
| | | | | | rules (#9211) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Use -h instead of deprecated -L for symlink checkVasilis Tsiligiannis2011-04-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix minor problem in init.d/bootVasilis Tsiligiannis2011-04-051-1/+1
| | | | | | | | | The script tests for the existance of /dev/root with test -e which fails if /dev/root is a dangling symlink making the call to ln fail. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] block-mount base-files: Added additional check to pi_include to ↵Daniel Dickinson2011-04-051-6/+10
| | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: properly handle vlans on top of wireless interfacesJo-Philipp Wich2011-03-181-7/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: update sysctl.conf for modern kernelsJo-Philipp Wich2011-03-171-1/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Autodetect newly added wireless hardwareVasilis Tsiligiannis2011-03-151-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add a default /etc/services filesFelix Fietkau2011-03-131-0/+170
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add users ftp (for ftp servers), network (network related ↵Felix Fietkau2011-03-131-0/+2
| | | | | | daemons such as tor, quagga, ...) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add an ftp group as wellFelix Fietkau2011-03-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add a few default groups to /etc/group so that we can get rid of ↵Felix Fietkau2011-03-131-0/+7
| | | | | | a few postinst scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix sysctl handling, do not react on fake ifaces in ↵Jo-Philipp Wich2011-02-251-2/+5
| | | | | | route hotplug handler git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* it's time for some attitude adjustment ;)Imre Kaloz2011-02-131-5/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: remove ptbtime3 rdate server, its deadJo-Philipp Wich2011-02-121-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: update rdate server listJo-Philipp Wich2011-02-121-9/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:Jo-Philipp Wich2011-02-111-0/+27
| | | | | | | | | - properly disable IPv6 on bridge ports - introduce accept_ra option, defaults to true for dhcp interfaces, false for others - introduce send_rs option, defaults to true for static interfaces, false for others git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Add include for target specific hotplug rulesVasilis Tsiligiannis2011-02-071-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2 rules: Run /etc/hotplug.d/firmware/ scripts (if any) on firmware ↵Michael Büsch2011-02-061-0/+1
| | | | | | load events git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25383 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: don't stop hotplug events for ppp interfaces, similar ↵Jo-Philipp Wich2011-02-031-1/+0
| | | | | | fix like the earlier one for tun/tap interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: make the skipping of ppp interfaces in 10-net hotplug ↵Jo-Philipp Wich2011-02-031-1/+1
| | | | | | more explicit, this allows users to rely on hotplug events for ppp0 .. ppp9 interfaces spawned by other programs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Fix alsa raw audio device hotplug ruleVasilis Tsiligiannis2011-02-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Use stricter matching for rule regular expressionsVasilis Tsiligiannis2011-02-012-8/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Remove deprecated hotplug2 commands, update old ↵Vasilis Tsiligiannis2011-01-311-15/+5
| | | | | | commands to new git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: support port_state in led config (#6763)Florian Fainelli2011-01-271-0/+4
| | | | | | Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add support for the usbdev LED triggerGabor Juhos2010-12-171-4/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: use shutdown instead of stop when the system goes down (patch by ↵Felix Fietkau2010-12-132-2/+2
| | | | | | tripolar) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: derive connect_time from uptime as local system time ↵Jo-Philipp Wich2010-12-011-1/+1
| | | | | | may warp due to rdate, ntp and other means git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24212 3c298f89-4303-0410-b956-a3cf2f4a3e73