Vasilis Tsiligiannis
980190367c
base-files: Use -h instead of deprecated -L for symlink check
...
SVN-Revision: 26485
14 years ago
Vasilis Tsiligiannis
48465d3d63
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
14 years ago
Daniel Dickinson
d5542b4f59
block-mount base-files: Added additional check to pi_include to ensure that a directory used with pi_include actually contains files matching the souring pattern because if not the shell dies due to an empty string in for statement. Added /lib/functions/fsck as an empty dir to block-mount. This combination fixes a warning which generates a lot of bug reports, without panicking the kernel like the last attempt.
...
SVN-Revision: 26479
14 years ago
Felix Fietkau
e4e63b9c1b
base-files: bridge config, avoid having a random ipv6 ll address
...
So far, we are setting the bridge interface up before having added any
bridge interface ports. This results in the bridge assigning a random
mac address to its bridge interface and therefore IPv6 assigning a
matching link local address to the bridge interface as soon as the
bridge interface is up. After adding the first bridge port interface,
the bridge's mac address is reset correctly, however the IPv6 link
local address stays the same.
This commit ensures that we are at least having the IPv6 link local
address of the first interface added to the bridge instead of a random
one.
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
SVN-Revision: 26426
14 years ago
Jo-Philipp Wich
fe8b9d5232
base-files: properly handle vlans on top of wireless interfaces
...
SVN-Revision: 26230
14 years ago
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
14 years ago
Felix Fietkau
66bcd1d049
base-files: add initial support for mounting overlayfs
...
SVN-Revision: 26207
14 years ago
Jo-Philipp Wich
629e73938e
base-files: update sysctl.conf for modern kernels
...
SVN-Revision: 26204
14 years ago
Vasilis Tsiligiannis
1b66204ccd
base-files: Autodetect newly added wireless hardware
...
SVN-Revision: 26166
14 years ago
Felix Fietkau
71e83bd2e1
base-files: add a default /etc/services files
...
SVN-Revision: 26142
14 years ago
Felix Fietkau
c33f2efbb2
base-files: add users ftp (for ftp servers), network (network related daemons such as tor, quagga, ...)
...
SVN-Revision: 26138
14 years ago
Felix Fietkau
f5c130cfda
base-files: add an ftp group as well
...
SVN-Revision: 26136
14 years ago
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
14 years ago
Jo-Philipp Wich
73468de8d1
base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler
...
SVN-Revision: 25713
14 years ago
Michael Büsch
e6100a161b
boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
...
SVN-Revision: 25635
14 years ago
Michael Büsch
16a300ea66
base-files: Add "-o noatime" to mount wrapper
...
noatime is cheaper than default relatime.
SVN-Revision: 25634
14 years ago
Michael Büsch
3a12229c1d
Fix whitespace
...
SVN-Revision: 25632
14 years ago
Felix Fietkau
9f7f8110e7
base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)
...
SVN-Revision: 25528
14 years ago
Imre Kaloz
e4589a2e5f
it's time for some attitude adjustment ;)
...
SVN-Revision: 25514
14 years ago
Felix Fietkau
803e9ceb90
base-files: /usr/lib/common.awk is only used by /bin/ipcalc.sh, move the code there
...
SVN-Revision: 25495
14 years ago
Jo-Philipp Wich
74ab5be3d7
base-files: remove ptbtime3 rdate server, its dead
...
SVN-Revision: 25479
14 years ago
Jo-Philipp Wich
8b1b99ba73
base-files: update rdate server list
...
SVN-Revision: 25478
14 years ago
Jo-Philipp Wich
ee3a4c2ee9
base-file: cleanup ipv6 enabling in unbridge
...
SVN-Revision: 25473
14 years ago
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
14 years ago
Jo-Philipp Wich
4e34fc521c
base-files: derive lease_acquired dhcp state var from /proc/uptime
...
SVN-Revision: 25452
14 years ago
Vasilis Tsiligiannis
d063af3fcf
base-files: Add include for target specific hotplug rules
...
SVN-Revision: 25415
14 years ago
Michael Büsch
99c66237f0
hotplug2 rules: Run /etc/hotplug.d/firmware/ scripts (if any) on firmware load events
...
SVN-Revision: 25383
14 years ago
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
14 years ago
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
14 years ago
Vasilis Tsiligiannis
bd8a1549eb
base-files: Fix alsa raw audio device hotplug rule
...
SVN-Revision: 25301
14 years ago
Vasilis Tsiligiannis
824331a594
hotplug2: Use stricter matching for rule regular expressions
...
SVN-Revision: 25282
14 years ago
Vasilis Tsiligiannis
3a3d95b191
base-files: Remove deprecated hotplug2 commands, update old commands to new
...
SVN-Revision: 25268
14 years ago
Jo-Philipp Wich
a0b2eba08c
base-files: fix a typo in processing of additional dhcp request opts
...
SVN-Revision: 25239
14 years ago
Jo-Philipp Wich
a8edd9d50e
base-files: fix handling of dhcp "reqopts" option
...
SVN-Revision: 25237
14 years ago
Florian Fainelli
d7fe921089
base-files: support port_state in led config ( #6763 )
...
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>
SVN-Revision: 25172
14 years ago
Gabor Juhos
25feec0c9c
package/base-files: add get_magic_long() to common upgrade script
...
Patch-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 25117
14 years ago
Jo-Philipp Wich
3b6851aa82
base-files: implement "reqopts" parameter for dhcp interfaces to specify additional dhcp options to request
...
SVN-Revision: 24780
14 years ago
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
14 years ago
Jo-Philipp Wich
deb9661785
Âbase-files: don't mark /etc/banner as conffile
...
SVN-Revision: 24742
14 years ago
Gabor Juhos
63c786dde7
base-files: add support for the usbdev LED trigger
...
SVN-Revision: 24647
14 years ago
Felix Fietkau
5a351509aa
base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
...
SVN-Revision: 24540
14 years ago
Florian Fainelli
ebe7bdba88
adds a --help option to /sbin/wifi
...
Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de>
SVN-Revision: 24258
14 years ago
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
14 years ago
Jo-Philipp Wich
a8c3d1ab6d
base-files: save the connect time of interfaces in uci state
...
SVN-Revision: 24206
14 years ago
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
14 years ago
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
14 years ago
Jo-Philipp Wich
c5711cadd3
base-files: change /dev permissions to 0755 when hotplug2 is used ( #6039 )
...
SVN-Revision: 23908
14 years ago
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
14 years ago
Jo-Philipp Wich
d856ed78ad
base-files: add udhcpc vendorid option ( #7744 )
...
SVN-Revision: 23279
14 years ago
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
14 years ago