Commit Graph

583 Commits (1cc0bcfffc9403782022092846233fd28e09dc98)

Author SHA1 Message Date
Felix Fietkau 1cc0bcfffc base-files: relink uclibc and libgcc libraries to remove leftovers of the statically linked initial libgcc saves a few kb and gets rid of unused not exported functions as well should also improve the reliability of mklibs
SVN-Revision: 25800
13 years ago
Jo-Philipp Wich 73468de8d1 base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler
SVN-Revision: 25713
13 years ago
Michael Büsch e6100a161b boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
SVN-Revision: 25635
13 years ago
Michael Büsch 16a300ea66 base-files: Add "-o noatime" to mount wrapper
noatime is cheaper than default relatime.

SVN-Revision: 25634
13 years ago
Michael Büsch 3a12229c1d Fix whitespace
SVN-Revision: 25632
13 years ago
Hamish Guthrie 090c042089 base-files: Add /etc/nsswitch.conf to targets running glibc/eglibc, otherwise name resolution fails
SVN-Revision: 25568
13 years ago
Felix Fietkau e5e6dfe384 base-files: librt should depend on libpthread, not the other way around
In uClibc 0.9.32 as well as recent versions of glibc and eglibc, librt
depends on libpthread.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 25548
13 years ago
Felix Fietkau 9f7f8110e7 base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)
SVN-Revision: 25528
13 years ago
Imre Kaloz e4589a2e5f it's time for some attitude adjustment ;)
SVN-Revision: 25514
13 years ago
Felix Fietkau c672eeffc9 remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
SVN-Revision: 25511
13 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
13 years ago
Jo-Philipp Wich 74ab5be3d7 base-files: remove ptbtime3 rdate server, its dead
SVN-Revision: 25479
13 years ago
Jo-Philipp Wich 8b1b99ba73 base-files: update rdate server list
SVN-Revision: 25478
13 years ago
Jo-Philipp Wich ee3a4c2ee9 base-file: cleanup ipv6 enabling in unbridge
SVN-Revision: 25473
13 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 b33ce3109d base-files: remove remaining conffiles reference to /etc/banner
SVN-Revision: 25368
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
Daniel Dickinson f93b6cb844 base-files: Fix typo in option name for disabling failsafe announcment Thanks to Andrey Zholos for this patch
SVN-Revision: 25040
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 59a3841c9c base-files: mark libc as hold and essential, opkg should now bail out if someone tries to uninstall libc
SVN-Revision: 23960
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 cfe4db7bda base-files: mark /etc/shadow as conffile
SVN-Revision: 23590
14 years ago
Jo-Philipp Wich d856ed78ad base-files: add udhcpc vendorid option (#7744)
SVN-Revision: 23279
14 years ago
Jo-Philipp Wich 8dc04c9018 base-files: mark /etc/sysupgrade.conf as conffile
SVN-Revision: 23264
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
Jo-Philipp Wich 978ecae685 base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list
SVN-Revision: 23233
14 years ago
Jo-Philipp Wich a65975e0d6 base-files: mark /etc/rc.local as conffile
SVN-Revision: 23232
14 years ago
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
14 years ago
Jo-Philipp Wich 6bcdab79b6 base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks
SVN-Revision: 23114
14 years ago