Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | base-files: remove rdate integration, add busybox ntpd init script and ↵ | Jo-Philipp Wich | 2011-10-27 | 1 | -0/+35 |
| | | | | | | 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. SVN-Revision: 28612 | ||||
* | base-files: move network related scripts to a separate package to make the ↵ | Felix Fietkau | 2011-10-20 | 1 | -52/+0 |
| | | | | | | transition to netifd easier SVN-Revision: 28495 | ||||
* | base-files: use "zonename" system option to symlink /etc/localtime via ↵ | Jo-Philipp Wich | 2011-09-26 | 1 | -0/+3 |
| | | | | | | /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc SVN-Revision: 28306 | ||||
* | base-files: pass conloglevel to syslogd (#9463, #9647) | Jo-Philipp Wich | 2011-07-03 | 1 | -2/+6 |
| | | | | SVN-Revision: 27400 | ||||
* | base-files: do not write to /etc/config/wireless at boot time unless a new ↵ | Felix Fietkau | 2011-06-07 | 1 | -3/+6 |
| | | | | | | | | | | interface was found eliminates unnecessary flash write cycles at every boot patch by Peter Wagner (tripolar) SVN-Revision: 27127 | ||||
* | base-files: retrigger usb coldplug after module loading, solves ↵ | Jo-Philipp Wich | 2011-05-08 | 1 | -0/+5 |
| | | | | | | usb_modeswitch on boot and possibly others (#9352) SVN-Revision: 26848 | ||||
* | base-files: Use -h instead of deprecated -L for symlink check | Vasilis Tsiligiannis | 2011-04-05 | 1 | -1/+1 |
| | | | | SVN-Revision: 26485 | ||||
* | base-files: fix minor problem in init.d/boot | Vasilis Tsiligiannis | 2011-04-05 | 1 | -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> SVN-Revision: 26483 | ||||
* | base-files: Autodetect newly added wireless hardware | Vasilis Tsiligiannis | 2011-03-15 | 1 | -2/+2 |
| | | | | SVN-Revision: 26166 | ||||
* | base-files: support port_state in led config (#6763) | Florian Fainelli | 2011-01-27 | 1 | -0/+4 |
| | | | | | | Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> SVN-Revision: 25172 | ||||
* | base-files: add support for the usbdev LED trigger | Gabor Juhos | 2010-12-17 | 1 | -4/+10 |
| | | | | SVN-Revision: 24647 | ||||
* | base-files: respect .auto option when running coldplug_interface_*() hooks ↵ | Jo-Philipp Wich | 2010-05-27 | 1 | -1/+4 |
| | | | | | | on boot SVN-Revision: 21588 | ||||
* | base-files: add a coldplug_interface_* hook to bring up non-hotpluggable ↵ | Jo-Philipp Wich | 2010-05-06 | 1 | -0/+11 |
| | | | | | | interfaces on boot SVN-Revision: 21389 | ||||
* | base-files: Remove redundant stopping of watchdog | Vasilis Tsiligiannis | 2010-05-03 | 1 | -1/+0 |
| | | | | | | busybox watchdog applet should stop the watchdog before shutting down SVN-Revision: 21341 | ||||
* | add stop() to watchdog init script, patch from Yury Polyanskiy | Florian Fainelli | 2010-05-03 | 1 | -1/+6 |
| | | | | SVN-Revision: 21334 | ||||
* | Fix bug in foregrounding in /etc/init.d/rcS | Florian Fainelli | 2010-04-16 | 1 | -2/+6 |
| | | | | | | | | Not using the config_xxx functions correctly. Amended. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 20928 | ||||
* | option to allow boot to run to completion before starting shell | Florian Fainelli | 2010-04-13 | 1 | -1/+6 |
| | | | | | | | | | | | | | Setting the system variable "foreground" to yes causes the system to run the init scripts in series and wait for completion. This is useful if (a) you don't want the user getting into the console until the system is initialized, or (b) you have things going on in your scripts that require strict ordering (and no possible race conditions). Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 20841 | ||||
* | base-files: also regenerate wifi config if existing config contains only ↵ | Jo-Philipp Wich | 2010-04-03 | 1 | -2/+5 |
| | | | | | | whitespace SVN-Revision: 20669 | ||||
* | base-files: reload switch settings on /etc/init.d/network start as well | Felix Fietkau | 2010-03-15 | 1 | -5/+4 |
| | | | | SVN-Revision: 20232 | ||||
* | add the block-mount package by Daniel Dickinson (cshore), replacing existing ↵ | Felix Fietkau | 2010-02-26 | 1 | -63/+0 |
| | | | | | | automount functionality SVN-Revision: 19877 | ||||
* | Don't do lazy unmounting of filessystems at reboot/poweroff. It is unneeded ↵ | Lars-Peter Clausen | 2010-02-09 | 1 | -1/+1 |
| | | | | | | and could couse a broken filesystem if unmounting takes to long. Thanks to Peter Wagner SVN-Revision: 19568 | ||||
* | when rebooting, use lazy umounts as fallback (patch by puchu) | Felix Fietkau | 2010-01-30 | 1 | -1/+1 |
| | | | | SVN-Revision: 19429 | ||||
* | stop syslogd before rebooting, otherwise umount might not work properly when ↵ | Felix Fietkau | 2010-01-30 | 1 | -0/+6 |
| | | | | | | logging to a file (thx, puchu) SVN-Revision: 19428 | ||||
* | when rebooting, stop the network interfaces last (just before umount) to ↵ | Felix Fietkau | 2010-01-30 | 1 | -1/+1 |
| | | | | | | allow services to shut down properly (thx, puchu) SVN-Revision: 19427 | ||||
* | base-files: do not warn about nonexistant sysctl overrides (some of them are ↵ | Felix Fietkau | 2010-01-29 | 1 | -1/+1 |
| | | | | | | config dependent) SVN-Revision: 19375 | ||||
* | run led init after /etc/init.d/done to keep the configured led settings ↵ | Felix Fietkau | 2010-01-06 | 1 | -1/+1 |
| | | | | | | active after the system has finished booting Signed-off-by: Nuno Goncalves <nunojpg@gmail.com> SVN-Revision: 19050 | ||||
* | do not start multiple subshells for applying /etc/uci-defaults. use sh -x ↵ | Felix Fietkau | 2009-12-09 | 1 | -4/+3 |
| | | | | | | for hush compatibility SVN-Revision: 18717 | ||||
* | mount debugfs by default | Felix Fietkau | 2009-11-23 | 1 | -0/+1 |
| | | | | SVN-Revision: 18502 | ||||
* | base-files: only try to execute watchdog if binary is present | Jo-Philipp Wich | 2009-10-20 | 1 | -1/+2 |
| | | | | SVN-Revision: 18102 | ||||
* | base-files: introduce a ready-to-use /etc/rc.local to let users run custom ↵ | Jo-Philipp Wich | 2009-09-11 | 1 | -0/+5 |
| | | | | | | commands on init without creating custom init scripts SVN-Revision: 17571 | ||||
* | Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵ | Felix Fietkau | 2009-09-09 | 1 | -15/+0 |
| | | | | | | (r17527) until we've solved the race conditions it creates SVN-Revision: 17544 | ||||
* | fix nonhotpluggable networks not being brought up. Closes #2781 | Travis Kemen | 2009-09-06 | 1 | -0/+15 |
| | | | | SVN-Revision: 17527 | ||||
* | Revert "add ifup -a to boot(), closes #4543 #2781" (r17515) Hotpluggable ↵ | Felix Fietkau | 2009-09-05 | 1 | -1/+0 |
| | | | | | | interfaces are already brought up before /etc/init.d/network boot and this change can break them, if the ifup -a command runs at the wrong time, also starts many interfaces twice, which can lead to issues with PPPoE. SVN-Revision: 17516 | ||||
* | add ifup -a to boot(), closes #4543 #2781 | Travis Kemen | 2009-09-05 | 1 | -0/+1 |
| | | | | SVN-Revision: 17515 | ||||
* | extend logging functions | Travis Kemen | 2009-09-04 | 1 | -7/+17 |
| | | | | SVN-Revision: 17514 | ||||
* | base-files: clean up init.d/fstab and port it to the new config_get | Felix Fietkau | 2009-08-07 | 1 | -18/+14 |
| | | | | | | | | ... also remove the unused noauto variable in swapon. Signed-off-by: Malte S. Stretz <mss@apache.org> SVN-Revision: 17159 | ||||
* | base-files: port init.d/led to new config_get | Felix Fietkau | 2009-08-07 | 1 | -8/+6 |
| | | | | | | | | ... and don't call logger directly, rcS takes care of the correct redirection Signed-off-by: Malte S. Stretz <mss@apache.org> SVN-Revision: 17158 | ||||
* | base-files: port init.d/boot to new config_get | Felix Fietkau | 2009-08-07 | 1 | -9/+10 |
| | | | | | | | | ... and localize some variables. Signed-off-by: Malte S. Stretz <mss@apache.org> SVN-Revision: 17157 | ||||
* | base-files: set rules file for hotplug2 in the boot script (closes #5235) | Gabor Juhos | 2009-05-30 | 1 | -0/+1 |
| | | | | SVN-Revision: 16215 | ||||
* | base-files: update command line for the new hotplug2 | Gabor Juhos | 2009-05-28 | 1 | -1/+2 |
| | | | | SVN-Revision: 16154 | ||||
* | rcS: wait for init scripts to complete before initiating the shutdown (patch ↵ | Felix Fietkau | 2009-04-30 | 2 | -6/+12 |
| | | | | | | from #5032) SVN-Revision: 15530 | ||||
* | add an explicit 'sysinit' tag for logging initscripts output, instead of '' ↵ | Nicolas Thill | 2009-04-21 | 1 | -1/+1 |
| | | | | | | that was logged as is SVN-Revision: 15323 | ||||
* | Allow running without "logger" installed | Michael Büsch | 2009-03-18 | 1 | -1/+4 |
| | | | | SVN-Revision: 14938 | ||||
* | Support configurations without syslogd/klogd. | Michael Büsch | 2009-03-18 | 1 | -2/+2 |
| | | | | SVN-Revision: 14937 | ||||
* | On shutdown disabled every mounted swap device. Fixes #4721 Thanks to Angel ↵ | Hauke Mehrtens | 2009-03-07 | 1 | -0/+1 |
| | | | | | | Marin SVN-Revision: 14770 | ||||
* | allow specifying port where to log (#2019) | Florian Fainelli | 2009-02-03 | 1 | -1/+2 |
| | | | | SVN-Revision: 14396 | ||||
* | package/base-files: fix chmod of /tmp/.uci, bump package revision | Jo-Philipp Wich | 2009-01-06 | 1 | -1/+1 |
| | | | | SVN-Revision: 13903 | ||||
* | make option name optional | Travis Kemen | 2008-09-13 | 1 | -2/+2 |
| | | | | SVN-Revision: 12585 | ||||
* | fix a race condition which would leave dnsmasq in infinite resolving ↵ | Felix Fietkau | 2008-08-28 | 1 | -0/+1 |
| | | | | | | recursion nirvana SVN-Revision: 12424 | ||||
* | fixes broken if-then in led init script | John Crispin | 2008-08-27 | 1 | -2/+3 |
| | | | | SVN-Revision: 12411 |