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
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
Daniel Dickinson
b125e3f68e
Fixed duplicated content in file in commit 23111
...
SVN-Revision: 23112
14 years ago
Daniel Dickinson
7fe34123d6
Missed file committing previous change 23110
...
SVN-Revision: 23111
14 years ago
Daniel Dickinson
18b473ca9b
base/block-extroot, base/block-mount: Modified preinit and block-extroot and block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done.
...
Thanks jow for the preinit merge stuff!
SVN-Revision: 23110
14 years ago
Daniel Dickinson
1385904dfa
base-files: Add function pi_include the /lib/functions/boot.sh used by preinit, which safely sources files as well as working correctly whether the script using it is a package added to the jffs2 part of a squashfs or built into an image or on some other root filesystem.
...
SVN-Revision: 23099
14 years ago
Jo-Philipp Wich
cdd98e3f3a
base-files: bump pkg revision after r23091, r23092
...
SVN-Revision: 23093
14 years ago
Jo-Philipp Wich
52531f4eb6
base-files: kill possibly existing udhcpc instance when bringing up a dhcp iface, utilize service_kill() in dhcp shutdown. Based on patch by Stijn Tintel. Possibly related to #7314
...
SVN-Revision: 23092
14 years ago
Jo-Philipp Wich
84b7b812f3
base-files: cached state vars after scan_interfaces might be out of sync when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state
...
SVN-Revision: 23091
14 years ago
Jo-Philipp Wich
4815de3f26
base-files: introduce service_kill() into functions.sh - a convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill
...
SVN-Revision: 23087
14 years ago
Jo-Philipp Wich
91118a9500
base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files
...
SVN-Revision: 22977
14 years ago
Jo-Philipp Wich
5949f33b06
base-files: make build dependant on opkg/host
...
SVN-Revision: 22948
14 years ago