Commit Graph

45 Commits

Author SHA1 Message Date
8aecba0161 [package] base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so to hotplug2 anymore, its statically linked - patch by Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
SVN-Revision: 29806
2012-01-19 15:37:47 +00:00
565645e1c5 [package] base-files: now that we have date -k, adjust the kernel timezone after setting up TZ and localtime
SVN-Revision: 29204
2011-11-17 01:18:22 +00:00
07f825cdac package/base-files: use new service wrapper
SVN-Revision: 28835
2011-11-07 22:58:34 +00:00
1770870422 base-files: load modules early, run wifi detect afterwards and only then process uci defaults
this allows uci-defaults scripts to override wifi settings

SVN-Revision: 28733
2011-11-03 20:02:25 +00:00
14bcc95058 [package] base-files: use "zonename" system option to symlink /etc/localtime via /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc
SVN-Revision: 28306
2011-09-26 02:28:04 +00:00
597c250aa9 [package] base-files: pass conloglevel to syslogd (, )
SVN-Revision: 27400
2011-07-03 15:11:58 +00:00
0f44b9745a [package] base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others ()
SVN-Revision: 26848
2011-05-08 10:25:58 +00:00
52ce7648c8 [package] base-files: Use -h instead of deprecated -L for symlink check
SVN-Revision: 26485
2011-04-05 15:09:43 +00:00
06556afa54 [package] base-files: fix minor problem in init.d/boot
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
2011-04-05 15:09:32 +00:00
2b2e34e527 stop syslogd before rebooting, otherwise umount might not work properly when logging to a file (thx, puchu)
SVN-Revision: 19428
2010-01-30 18:17:52 +00:00
4c8d72d183 do not start multiple subshells for applying /etc/uci-defaults. use sh -x for hush compatibility
SVN-Revision: 18717
2009-12-09 15:15:25 +00:00
e859058b4b mount debugfs by default
SVN-Revision: 18502
2009-11-23 20:35:05 +00:00
f72b2f8faa extend logging functions
SVN-Revision: 17514
2009-09-04 21:09:13 +00:00
1e653f4994 base-files: port init.d/boot to new config_get
... and localize some variables.

Signed-off-by: Malte S. Stretz <mss@apache.org>

SVN-Revision: 17157
2009-08-07 00:07:51 +00:00
fafe3b190c [package] base-files: set rules file for hotplug2 in the boot script (closes )
SVN-Revision: 16215
2009-05-30 17:09:41 +00:00
27707640fb [package] base-files: update command line for the new hotplug2
SVN-Revision: 16154
2009-05-28 18:48:54 +00:00
a6b067b41b rcS: wait for init scripts to complete before initiating the shutdown (patch from )
SVN-Revision: 15530
2009-04-30 22:59:18 +00:00
24a050b005 Support configurations without syslogd/klogd.
SVN-Revision: 14937
2009-03-18 12:20:21 +00:00
a941d7ed9e [base-files] allow specifying port where to log ()
SVN-Revision: 14396
2009-02-03 20:26:00 +00:00
fa4eb5c007 package/base-files: fix chmod of /tmp/.uci, bump package revision
SVN-Revision: 13903
2009-01-06 21:53:45 +00:00
0cb69a419c fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana
SVN-Revision: 12424
2008-08-28 14:10:55 +00:00
cd79ff8427 move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works for initramfs as well
SVN-Revision: 12058
2008-08-01 03:01:42 +00:00
7a5aa79999 Revert previous bad commit r11512
SVN-Revision: 11513
2008-06-16 19:37:00 +00:00
66b2e06ad6 Add the PS3 specific utility bl-option, a helper sctipt
to get and set bootloader options in flash memory.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


SVN-Revision: 11512
2008-06-16 19:14:13 +00:00
1013d3d867 system now knows which timezone it is in
SVN-Revision: 11445
2008-06-11 19:59:16 +00:00
ec9ca12d0c adding check for /proc/net/vlan/config (==vlan enabled kernel)
SVN-Revision: 11132
2008-05-13 09:21:17 +00:00
15a7bb01b3 Make the syslog ring-buffer size configurable ()
SVN-Revision: 10557
2008-03-07 10:44:13 +00:00
31f3c31d14 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
aba0234bc4 init: don't start hotplug2 if it doesn't exist
The current init script always tries to start hotplug 2, even if
it's not present, so we get an error on boot.

This change checks for the presence of the hotplug2 binary before
trying to start it.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>


SVN-Revision: 9606
2007-11-28 02:36:10 +00:00
332aace881 add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - should prevent duplicate ifup actions. thx, ffrrrr.
SVN-Revision: 8864
2007-09-20 10:19:24 +00:00
3d552dd0e1 fix a warning ()
SVN-Revision: 7809
2007-06-30 20:00:29 +00:00
4c0c27fa14 replace the hotplug2 fork handling hack with a better solution implemented in upstream (thanks, iSteve)
SVN-Revision: 7786
2007-06-30 11:05:14 +00:00
1a2f1c7f87 fix failsafe on broadcom, send netlink events in diag when running linux 2.6
SVN-Revision: 7722
2007-06-25 08:32:25 +00:00
6e9391d0f5 keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
SVN-Revision: 7643
2007-06-16 00:01:33 +00:00
2ae0061b58 Add the conloglevel option ()
SVN-Revision: 7613
2007-06-13 17:41:54 +00:00
50a807ef39 move syslogd and klogd to init.di/boot script, add remote logging support
SVN-Revision: 7160
2007-05-10 09:29:55 +00:00
21c72f113a fix networking on broadcom and possibly other targets as well ()
SVN-Revision: 7149
2007-05-09 20:54:41 +00:00
4425594e09 use hotplug2 for serializing hotplug events on 2.6
SVN-Revision: 7097
2007-05-05 18:33:18 +00:00
ea65fd1ede create /dev/root on boot - fixes cf2nand on rb532
SVN-Revision: 7066
2007-04-29 16:57:55 +00:00
c8a67e953d we can use some more hotplug processes here...
SVN-Revision: 6980
2007-04-16 23:58:46 +00:00
a7694f84fc Limit the number of hotplug childrens
SVN-Revision: 6804
2007-04-01 18:30:32 +00:00
41eeac88ee add new config option for the hostname in /etc/config/system (fixes , )
SVN-Revision: 6532
2007-03-06 21:28:57 +00:00
f79071a6c4 nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
76e3a22d2f Forward port whiterussian resolv.conf changes
/etc/resolv.conf links to /tmp/resolv.conf
/tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in)
When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1


SVN-Revision: 6043
2007-01-08 21:33:53 +00:00
f134c8e1d6 rename default/ to files/
SVN-Revision: 5622
2006-11-22 23:30:57 +00:00