Commit Graph

191 Commits (34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6)

Author SHA1 Message Date
Travis Kemen bae7e5bebb add missing include in restart
SVN-Revision: 10794
16 years ago
Matteo Croce 633e548e01 fix typo(2) in watchdog init script
SVN-Revision: 10727
16 years ago
Matteo Croce cd4447d269 fix typo in watchdog init script
SVN-Revision: 10726
16 years ago
Florian Fainelli dd2afbeee3 Start the watchdog daemon if a harware watchdog is present
SVN-Revision: 10721
16 years ago
Florian Fainelli 8d30372bdc Make the syslog ring-buffer size configurable (#3204)
SVN-Revision: 10557
16 years ago
Florian Fainelli c3c83c6574 Fix typo
SVN-Revision: 10544
16 years ago
Florian Fainelli 62b0af39c7 Also call setup_switch on network restart
SVN-Revision: 10540
16 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
16 years ago
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
17 years ago
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
17 years ago
Gabor Juhos 131d358fc3 6tunnel: move init/config files to the right place
SVN-Revision: 9453
17 years ago
Florian Fainelli f038ae8671 Mark 6tunnel as executable, avoids ": /etc/init.d/rcS: line 8: /etc/rc.d/S466tunnel: Permission denied"
SVN-Revision: 9424
17 years ago
Florian Fainelli 64734f94c7 Add 6tunnel configuration for tunnel brokers based configuration (not SiXXS), disabled by default
SVN-Revision: 9259
17 years ago
Rod Whitby ac8f66b987 base-files: Added support for swap configuration in /etc/config/fstab
SVN-Revision: 8947
17 years ago
Rod Whitby cd95009fc6 Added support for /etc/default/fstab - a means of automatically mounting devices on boot.
SVN-Revision: 8916
17 years ago
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
17 years ago
John Crispin 206998371f wireless config gets regenerated not only when it does not exist, buit also if it is 0 len
SVN-Revision: 8149
17 years ago
Felix Fietkau f95db8bac8 fix a warning (#1800)
SVN-Revision: 7809
17 years ago
Felix Fietkau c09dc20f2c replace the hotplug2 fork handling hack with a better solution implemented in upstream (thanks, iSteve)
SVN-Revision: 7786
17 years ago
Felix Fietkau 8c41e51e92 fix failsafe on broadcom, send netlink events in diag when running linux 2.6
SVN-Revision: 7722
17 years ago
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
17 years ago
Florian Fainelli 440f537f48 Add the conloglevel option (#1682)
SVN-Revision: 7613
17 years ago
Mike Baker 4a41439c46 unified preinit environment
SVN-Revision: 7173
17 years ago
Mike Baker f0fa2a3de5 unmount filesystems at shutdown
SVN-Revision: 7166
17 years ago
Mike Baker 291420a8f3 add K* scripts to be run at shutdown
SVN-Revision: 7163
17 years ago
Mike Baker fa0568fdcb move syslogd and klogd to init.di/boot script, add remote logging support
SVN-Revision: 7160
17 years ago
Felix Fietkau 76184df0e6 fix networking on broadcom and possibly other targets as well (#1658)
SVN-Revision: 7149
17 years ago
Felix Fietkau ca7a815602 use hotplug2 for serializing hotplug events on 2.6
SVN-Revision: 7097
17 years ago
Felix Fietkau 9507f89800 create /dev/root on boot - fixes cf2nand on rb532
SVN-Revision: 7066
17 years ago
Felix Fietkau 65113c481f we can use some more hotplug processes here...
SVN-Revision: 6980
17 years ago
Felix Fietkau d56750665c use rc.common for usb init script
SVN-Revision: 6873
17 years ago
Florian Fainelli 2266aad2ec Limit the number of hotplug childrens
SVN-Revision: 6804
17 years ago
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
17 years ago
Felix Fietkau b77680287e add new config option for the hostname in /etc/config/system (fixes #1302, #1438)
SVN-Revision: 6532
17 years ago
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
17 years ago
Felix Fietkau 84bec9f9cf add support for if{down,up} -a and implement proper start/stop/restart for /etc/init.d/network
SVN-Revision: 6455
17 years ago
Felix Fietkau e2c94324e7 make usb init script executable
SVN-Revision: 6203
18 years ago
Felix Fietkau ade7e1b7cf use syslogd -C16 instead of syslogd -C 16 (busybox 1.4 compatibility)
SVN-Revision: 6202
18 years ago
Florian Fainelli 78af4adbc5 Mount usb filesystem at startup (#1077)
SVN-Revision: 6163
18 years ago
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
18 years ago
Felix Fietkau 59a06c71cb rename default/ to files/
SVN-Revision: 5622
18 years ago