Commit Graph

465 Commits (251a367fb416886ca8770766cb9ec6747fd000c5)

Author SHA1 Message Date
Jo-Philipp Wich fe8b9d5232 base-files: properly handle vlans on top of wireless interfaces
SVN-Revision: 26230
2011-03-18 18:24:51 +00:00
Felix Fietkau a3b9971d84 base-files: overlayfs whiteouts depend on a specific xattr entry, which does not get preserved by the tmpfs->overlay copy. work around this by cleaning all copied "(overlay-whiteout)" symlinks after the switch to jffs2
SVN-Revision: 26208
2011-03-17 19:09:43 +00:00
Felix Fietkau 66bcd1d049 base-files: add initial support for mounting overlayfs
SVN-Revision: 26207
2011-03-17 19:09:39 +00:00
Jo-Philipp Wich 629e73938e base-files: update sysctl.conf for modern kernels
SVN-Revision: 26204
2011-03-17 15:35:41 +00:00
Vasilis Tsiligiannis 1b66204ccd base-files: Autodetect newly added wireless hardware
SVN-Revision: 26166
2011-03-15 00:44:15 +00:00
Felix Fietkau 71e83bd2e1 base-files: add a default /etc/services files
SVN-Revision: 26142
2011-03-13 19:47:42 +00:00
Felix Fietkau c33f2efbb2 base-files: add users ftp (for ftp servers), network (network related daemons such as tor, quagga, ...)
SVN-Revision: 26138
2011-03-13 19:10:28 +00:00
Felix Fietkau f5c130cfda base-files: add an ftp group as well
SVN-Revision: 26136
2011-03-13 19:04:32 +00:00
Felix Fietkau 554cbe7f18 base-files: add a few default groups to /etc/group so that we can get rid of a few postinst scripts
SVN-Revision: 26133
2011-03-13 18:56:34 +00:00
Jo-Philipp Wich 73468de8d1 base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler
SVN-Revision: 25713
2011-02-25 22:44:37 +00:00
Michael Büsch e6100a161b boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
SVN-Revision: 25635
2011-02-20 22:40:47 +00:00
Michael Büsch 16a300ea66 base-files: Add "-o noatime" to mount wrapper
noatime is cheaper than default relatime.

SVN-Revision: 25634
2011-02-20 22:39:08 +00:00
Michael Büsch 3a12229c1d Fix whitespace
SVN-Revision: 25632
2011-02-20 21:25:45 +00:00
Felix Fietkau 9f7f8110e7 base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)
SVN-Revision: 25528
2011-02-13 19:06:20 +00:00
Imre Kaloz e4589a2e5f it's time for some attitude adjustment ;)
SVN-Revision: 25514
2011-02-13 11:20:09 +00:00
Felix Fietkau 803e9ceb90 base-files: /usr/lib/common.awk is only used by /bin/ipcalc.sh, move the code there
SVN-Revision: 25495
2011-02-13 01:44:57 +00:00
Jo-Philipp Wich 74ab5be3d7 base-files: remove ptbtime3 rdate server, its dead
SVN-Revision: 25479
2011-02-12 17:54:01 +00:00
Jo-Philipp Wich 8b1b99ba73 base-files: update rdate server list
SVN-Revision: 25478
2011-02-12 17:46:36 +00:00
Jo-Philipp Wich ee3a4c2ee9 base-file: cleanup ipv6 enabling in unbridge
SVN-Revision: 25473
2011-02-12 16:14:15 +00:00
Jo-Philipp Wich 875ff44592 base-files: - 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
SVN-Revision: 25454
2011-02-11 00:39:11 +00:00
Jo-Philipp Wich 4e34fc521c base-files: derive lease_acquired dhcp state var from /proc/uptime
SVN-Revision: 25452
2011-02-10 20:05:05 +00:00
Vasilis Tsiligiannis d063af3fcf base-files: Add include for target specific hotplug rules
SVN-Revision: 25415
2011-02-07 22:28:09 +00:00
Michael Büsch 99c66237f0 hotplug2 rules: Run /etc/hotplug.d/firmware/ scripts (if any) on firmware load events
SVN-Revision: 25383
2011-02-06 14:35:07 +00:00
Jo-Philipp Wich 3d82109add base-files: don't stop hotplug events for ppp interfaces, similar fix like the earlier one for tun/tap interfaces
SVN-Revision: 25355
2011-02-03 22:43:11 +00:00
Jo-Philipp Wich 79b22b246b base-files: make the skipping of ppp interfaces in 10-net hotplug more explicit, this allows users to rely on hotplug events for ppp0 .. ppp9 interfaces spawned by other programs
SVN-Revision: 25354
2011-02-03 22:34:30 +00:00
Vasilis Tsiligiannis bd8a1549eb base-files: Fix alsa raw audio device hotplug rule
SVN-Revision: 25301
2011-02-02 01:23:34 +00:00
Vasilis Tsiligiannis 824331a594 hotplug2: Use stricter matching for rule regular expressions
SVN-Revision: 25282
2011-02-01 16:37:53 +00:00
Vasilis Tsiligiannis 3a3d95b191 base-files: Remove deprecated hotplug2 commands, update old commands to new
SVN-Revision: 25268
2011-01-31 22:29:31 +00:00
Jo-Philipp Wich a0b2eba08c base-files: fix a typo in processing of additional dhcp request opts
SVN-Revision: 25239
2011-01-29 17:06:07 +00:00
Jo-Philipp Wich a8edd9d50e base-files: fix handling of dhcp "reqopts" option
SVN-Revision: 25237
2011-01-29 13:45:16 +00:00
Florian Fainelli d7fe921089 base-files: support port_state in led config (#6763)
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>

SVN-Revision: 25172
2011-01-27 21:49:46 +00:00
Gabor Juhos 25feec0c9c package/base-files: add get_magic_long() to common upgrade script
Patch-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 25117
2011-01-26 20:35:37 +00:00
Jo-Philipp Wich 3b6851aa82 base-files: implement "reqopts" parameter for dhcp interfaces to specify additional dhcp options to request
SVN-Revision: 24780
2010-12-22 07:20:24 +00:00
Jo-Philipp Wich 3bd7985a0b base-files: the busybox update to v1.15.3 completely broke udhcpc route option handling, repair default.script to work with the new format (#6435)
SVN-Revision: 24778
2010-12-22 07:07:15 +00:00
Jo-Philipp Wich deb9661785 Âbase-files: don't mark /etc/banner as conffile
SVN-Revision: 24742
2010-12-20 19:51:05 +00:00
Gabor Juhos 63c786dde7 base-files: add support for the usbdev LED trigger
SVN-Revision: 24647
2010-12-17 17:10:14 +00:00
Felix Fietkau 5a351509aa base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
SVN-Revision: 24540
2010-12-13 08:01:21 +00:00
Florian Fainelli ebe7bdba88 adds a --help option to /sbin/wifi
Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de>

SVN-Revision: 24258
2010-12-05 11:22:56 +00:00
Jo-Philipp Wich 9a996248d4 base-files: derive connect_time from uptime as local system time may warp due to rdate, ntp and other means
SVN-Revision: 24212
2010-12-01 19:55:24 +00:00
Jo-Philipp Wich a8c3d1ab6d base-files: save the connect time of interfaces in uci state
SVN-Revision: 24206
2010-12-01 17:37:32 +00:00
Jo-Philipp Wich ca829e805b base-files: disable ipv6 on bridge ports, this prevents stray RA assigned and link local addresses on bridge member devices
SVN-Revision: 24194
2010-11-30 00:46:21 +00:00
Jo-Philipp Wich d0ab35c115 base-file: add metric option for static and dhcp protos, this simplifies the management of multiple default routes
SVN-Revision: 24020
2010-11-17 19:11:50 +00:00
Jo-Philipp Wich c5711cadd3 base-files: change /dev permissions to 0755 when hotplug2 is used (#6039)
SVN-Revision: 23908
2010-11-07 00:28:15 +00:00
Jo-Philipp Wich a8efa34da3 Fix permissions for /etc and other dirs after clean flash (#6039)
During the first OpenWrt boot after a clean flash (when the jffs2
partition is not yet initialized) tmpfs is used instead of the usual
jffs2 overlay filesystem.  If this tmpfs is mounted with default
options, all directories created there (/etc, /etc/config, other
subdirectories in /etc) get permissions 1777 by default, and these
permissions then persist in the created jffs2 at least until
subsequent sysupgrade.  Mounting tmpfs with mode=0755 fixes the
permission problem.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>

SVN-Revision: 23906
2010-11-07 00:26:00 +00:00
Jo-Philipp Wich d856ed78ad base-files: add udhcpc vendorid option (#7744)
SVN-Revision: 23279
2010-10-06 21:21:28 +00:00
Jo-Philipp Wich d80f82d7a4 base-files: - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles
SVN-Revision: 23258
2010-10-05 19:24:12 +00:00
Jo-Philipp Wich 978ecae685 base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list
SVN-Revision: 23233
2010-10-05 07:40:25 +00:00
Jo-Philipp Wich 0fda5f7507 base-files: utilize uci_get_state to read the previous dhcp router address in udhcpc default script. The setup_switch() procedure provided by swconfig calls config_load() during network restart and thus confuses udhcpc's uci state keeping resulting in a missing default route on each second network restart. Bypass the cached state vars and query uci directly to make the script immune against unwanted runtime changes.
SVN-Revision: 23211
2010-10-04 00:07:07 +00:00
Jo-Philipp Wich 6bcdab79b6 base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks
SVN-Revision: 23114
2010-09-23 17:32:58 +00:00
Daniel Dickinson b125e3f68e Fixed duplicated content in file in commit 23111
SVN-Revision: 23112
2010-09-23 14:06:47 +00:00