Commit graph

138 commits

Author SHA1 Message Date
Florian Fainelli
dd2afbeee3 Start the watchdog daemon if a harware watchdog is present
SVN-Revision: 10721
2008-04-03 14:36:10 +00:00
Florian Fainelli
8d30372bdc Make the syslog ring-buffer size configurable (#3204)
SVN-Revision: 10557
2008-03-07 10:44:13 +00:00
Florian Fainelli
c3c83c6574 Fix typo
SVN-Revision: 10544
2008-03-04 15:50:41 +00:00
Florian Fainelli
62b0af39c7 Also call setup_switch on network restart
SVN-Revision: 10540
2008-03-02 14:56:13 +00:00
Felix Fietkau
0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Felix Fietkau
d36374c428 init: check permissions on rc.d files
We try to unconditionally execute /etc/rc.d/* files, even if they're
not executable - an easy way of temproarily disabling a service. When
this happens, we get a permission denied error on boot.

This change only tries to run execulable startup scripts.

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

SVN-Revision: 9607
2007-11-28 02:36:14 +00:00
Felix Fietkau
b443ee0fbb 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
Gabor Juhos
131d358fc3 6tunnel: move init/config files to the right place
SVN-Revision: 9453
2007-10-27 07:12:13 +00:00
Florian Fainelli
f038ae8671 Mark 6tunnel as executable, avoids ": /etc/init.d/rcS: line 8: /etc/rc.d/S466tunnel: Permission denied"
SVN-Revision: 9424
2007-10-24 13:42:15 +00:00
Florian Fainelli
64734f94c7 Add 6tunnel configuration for tunnel brokers based configuration (not SiXXS), disabled by default
SVN-Revision: 9259
2007-10-11 09:01:38 +00:00
Rod Whitby
ac8f66b987 base-files: Added support for swap configuration in /etc/config/fstab
SVN-Revision: 8947
2007-09-22 13:47:20 +00:00
Rod Whitby
cd95009fc6 Added support for /etc/default/fstab - a means of automatically mounting devices on boot.
SVN-Revision: 8916
2007-09-21 13:20:50 +00:00
Felix Fietkau
ca32501abe 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
John Crispin
206998371f wireless config gets regenerated not only when it does not exist, buit also if it is 0 len
SVN-Revision: 8149
2007-07-24 22:10:10 +00:00
Felix Fietkau
f95db8bac8 fix a warning (#1800)
SVN-Revision: 7809
2007-06-30 20:00:29 +00:00
Felix Fietkau
c09dc20f2c 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
Felix Fietkau
8c41e51e92 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
Felix Fietkau
4f16e9cc3e 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
Florian Fainelli
440f537f48 Add the conloglevel option (#1682)
SVN-Revision: 7613
2007-06-13 17:41:54 +00:00
Mike Baker
4a41439c46 unified preinit environment
SVN-Revision: 7173
2007-05-10 14:37:47 +00:00
Mike Baker
f0fa2a3de5 unmount filesystems at shutdown
SVN-Revision: 7166
2007-05-10 10:45:04 +00:00
Mike Baker
291420a8f3 add K* scripts to be run at shutdown
SVN-Revision: 7163
2007-05-10 10:07:38 +00:00
Mike Baker
fa0568fdcb move syslogd and klogd to init.di/boot script, add remote logging support
SVN-Revision: 7160
2007-05-10 09:29:55 +00:00
Felix Fietkau
76184df0e6 fix networking on broadcom and possibly other targets as well (#1658)
SVN-Revision: 7149
2007-05-09 20:54:41 +00:00
Felix Fietkau
ca7a815602 use hotplug2 for serializing hotplug events on 2.6
SVN-Revision: 7097
2007-05-05 18:33:18 +00:00
Felix Fietkau
9507f89800 create /dev/root on boot - fixes cf2nand on rb532
SVN-Revision: 7066
2007-04-29 16:57:55 +00:00
Felix Fietkau
65113c481f we can use some more hotplug processes here...
SVN-Revision: 6980
2007-04-16 23:58:46 +00:00
Felix Fietkau
d56750665c use rc.common for usb init script
SVN-Revision: 6873
2007-04-06 16:07:36 +00:00
Florian Fainelli
2266aad2ec Limit the number of hotplug childrens
SVN-Revision: 6804
2007-04-01 18:30:32 +00:00
Felix Fietkau
2c62bddcfe Add an 'Image Configuration' menu to menuconfig Packages can export a list of config options with labels and data types through the metadata. The selected config values will be exported to the target filesystem in /etc/uci-defaults and applied on the first boot.
SVN-Revision: 6572
2007-03-16 03:02:31 +00:00
Felix Fietkau
b77680287e add new config option for the hostname in /etc/config/system (fixes #1302, #1438)
SVN-Revision: 6532
2007-03-06 21:28:57 +00:00
Felix Fietkau
a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
Felix Fietkau
84bec9f9cf add support for if{down,up} -a and implement proper start/stop/restart for /etc/init.d/network
SVN-Revision: 6455
2007-03-02 13:21:33 +00:00
Felix Fietkau
e2c94324e7 make usb init script executable
SVN-Revision: 6203
2007-01-25 17:42:07 +00:00
Felix Fietkau
ade7e1b7cf use syslogd -C16 instead of syslogd -C 16 (busybox 1.4 compatibility)
SVN-Revision: 6202
2007-01-25 17:39:38 +00:00
Florian Fainelli
78af4adbc5 Mount usb filesystem at startup (#1077)
SVN-Revision: 6163
2007-01-21 18:11:27 +00:00
Felix Fietkau
656412d1a3 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
Felix Fietkau
59a06c71cb rename default/ to files/
SVN-Revision: 5622
2006-11-22 23:30:57 +00:00