summaryrefslogtreecommitdiffstats
path: root/package/base-files/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files: enable conntrack accounting in sysctl. It used to be a ↵jow2012-03-041-1/+1
| | | | | | compile time option which got deprecated git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add a uci-defaults script which will migrate the root ↵jow2012-01-221-1/+1
| | | | | | password to /etc/shadow if needed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so ↵jow2012-01-191-1/+1
| | | | | | to hotplug2 anymore, its statically linked - patch by Viktar Palstsiuk <viktar.palstsiuk@promwad.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29806 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: implement a --force option for sysupgrade to override ↵jow2012-01-081-2/+2
| | | | | | image checks, useful to upgrade old ar71xx installations to current trunk ones git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: add support for the switch LED triggerjuhosg2011-12-311-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add -b (--create-backup) option to sysupgrade, which ↵jow2011-12-201-1/+1
| | | | | | generates a backup .tar.gz according to the user settings. This will also be reused by LuCI. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: kill remaining processes after running user hooks (#10461)jow2011-11-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: another empty password check fix (#10440)jow2011-11-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: now that we have date -k, adjust the kernel timezone ↵jow2011-11-171-1/+1
| | | | | | after setting up TZ and localtime git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: rewrite killing of nonessential services to not rely ↵jow2011-11-161-1/+1
| | | | | | on top, use the proc filesystem only git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: prime root password with "x" to notify programs that ↵jow2011-11-141-1/+1
| | | | | | | | | there is a shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: now that the initial password is completely empty (and ↵jow2011-11-111-1/+1
| | | | | | not primed with "!") adjust login.sh for it to make telnetd available again git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable and use shadow passwords by defaultkaloz2011-11-101-5/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: enhance & cleanup service wrappersnico2011-11-081-1/+1
| | | | | | | | | * add service_check function for checking if a process is alive * add service_signal for sending arbitrary signals to a process * change service_stop to send a TERM signal first, wait for the process to die and send a KILL signal if it doen't * have service_kill print a warning on STDERR stating it has been deprecated git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: do not assume that "top" is busybox' top, but try to ↵jow2011-11-081-1/+1
| | | | | | call the applet explicitely git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: properly handle wifi ifaces with no network attached, ↵jow2011-11-081-1/+1
| | | | | | useful for unmanaged interfaces like used for batman or monitoring git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: move /etc/functions.sh to /lib/functions.shnico2011-11-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: use new service wrappernico2011-11-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28835 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add some more protected services to sysupgrade kill ↵jow2011-11-031-1/+1
| | | | | | blacklist git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: sysupgrade: kill all but essential processes before ↵jow2011-10-271-1/+1
| | | | | | starting the update git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files/sysupgrade: add more busybox applet symlinks to ramdiskjuhosg2011-10-271-1/+1
| | | | | | | | | Adds symlinks for printf and wc to make life happier in the sysupgrade ramdisk. Also make code more readable by escaping that overly long line. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: remove rdate integration, add busybox ntpd init script ↵jow2011-10-271-1/+1
| | | | | | | | | | | | | | | | and server list in /etc/config/system The rdate applet proved to be too unreliable to obtain the current time on boot: - public time servers are rare and often unreachable or overloaded - rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions - the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations - the time protocol as specified in RFC 868 is considered obsolete This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly. The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or by clearing the timeserver list in /etc/config/system. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an initial (experimental) version of netifd, disabled by defaultnbd2011-10-211-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: move network related scripts to a separate package to make the ↵nbd2011-10-201-0/+1
| | | | | | transition to netifd easier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: introduce "igmp_snooping" option to toggle IGMP ↵jow2011-10-111-1/+1
| | | | | | snooping on bridge interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: use "zonename" system option to symlink /etc/localtime ↵jow2011-09-261-1/+3
| | | | | | via /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: make ip matching in dns add/remove functions more ↵jow2011-09-231-1/+1
| | | | | | explicit, avoids overmatching pairs like 1.2.3.35 and 1.2.3.3 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix arp() procedure to properly detect /usr/bin/arpjow2011-08-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: use "reboot -f" after sysupgrade to prevent executing ↵jow2011-07-251-1/+1
| | | | | | deleted init scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: attempt bring up related wifi devices when calling ifupjow2011-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | If a user invoked /sbin/ifup to bring up an interface, the setup used to fail in case of wireless networks tied to a non-bridged interface definition. Likewise, the bringup of "lan" in the default configuration will reinitialize the bridge but do not re-join the wireless network to it, requiring an extra call to /sbin/wifi (which might not be possible anymore due to a severed link if connected wirelessly). The changeset modifies the "ifup" command to search for related wireless devices and call "wifi up" on them if applicable. This way the commands for wireless and non-wireless interfaces are unified from a cli point of view. The "ifup -a" case has not been changed to keep the logic of the /etc/init.d/network boot sequence. This might be changed later. Solves #9763. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: implement a generic mechanism to map per-interface ↵jow2011-07-171-1/+1
| | | | | | | | | | | | sysctls to uci. - option ipv4_xyz is mapped to /proc/sys/net/ipv4/{conf,neigh}/xyz - option ipv6_xyz is mapped to /proc/sys/net/ipv6/{conf,neigh}/xyz This allows e.g. "option ipv6_proxy_ndp 1" to enable NDP proxying on wan. Fixes ticket #8699. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add -h and --help options to sysupgrade (#9728)jow2011-07-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: use uci_toggle_state() to prevent unwanted aggregation ↵jow2011-07-151-1/+1
| | | | | | of state vars (#9711) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: do not use the relinked libgcc, fixes c++ exception handling ↵nbd2011-07-021-1/+1
| | | | | | issues (#9185) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] add gfortran compiler support (#9600, patch from Xiangfu Liu via ↵jow2011-06-231-0/+40
| | | | | | Qi hardware) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: if an ip6addr without a prefix is given, assume /128 - ↵jow2011-06-091-1/+1
| | | | | | otherwise the busybox utilities will interpret it as /0 and create an invalid default route git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix error reporting for unsupported protocols on ↵jow2011-06-071-1/+1
| | | | | | virtual interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: mark /etc/crontabs/ as config directoryjow2011-05-241-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] ipcalc.sh CIDR notationjow2011-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, the attached patch makes ipcalc.sh accept IP/Netmask combinations in CIDR notation. Before you could only do: # sh ipcalc.sh 192.168.0.0 255.255.255.0 1 10 IP=192.168.0.0 NETMASK=255.255.255.0 BROADCAST=192.168.0.255 NETWORK=192.168.0.0 PREFIX=24 START=192.168.0.1 END=192.168.0.11 with this patch you can also execute it with: sh ipcalc.sh 192.168.0.0/24 1 10 IP=192.168.0.0 NETMASK=255.255.255.0 BROADCAST=192.168.0.255 NETWORK=192.168.0.0 PREFIX=24 START=192.168.0.1 END=192.168.0.11 The patch is based on #1260 [1], i just changed one line to calculate the START end END ips right. I wonder why that never got included. If there is no reason not to do i would like to ask you to commit that patch, because its a functionality i (and probably others) miss quite often. Btw, i also fixed 4 useless tabs, that might look a bit strange in the patch. Regards, Manuel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: retrigger usb coldplug after module loading, solves ↵jow2011-05-081-1/+1
| | | | | | usb_modeswitch on boot and possibly others (#9352) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix stale space in eglibc library install section (#9270)jow2011-04-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: return success on lib-copying with external toolchainjow2011-04-121-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when using an external toolchain the base-files package copies libc, libgcc and others from the library directory. The file list is given as following in the .config: CONFIG_LIBC_FILE_SPEC="./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}" Because the filenames are composed with different endings, not all files exist and will be skipped. Currently, this works only if the last composed file (util.so.*) really exists. At the moment this works - but only if you don't add a new file like 'uClibc'. Adding it at the end '...resolv,util,uClibc}{-*.so,.so.*}' will lead to this message, because the combination 'libuClibc.so.*' doesn't exist and Make will evaluate the last copy statement of the for loop. --- Message Snippet --- cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libnss_files.so.*': No such file or directory cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv-*.so': No such file or directory cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv.so.*': No such file or directory cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libuClibc.so.*': No such file or directory make[2]: *** [/home/user/Desktop/code/meetwise/openwrt/bin/at91/packages/libc_-68_at91.ipk] Error 1 make[2]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt/package/base-files' make[1]: *** [package/base-files/compile] Error 2 make[1]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt' make: *** [package/base-files/compile] Error 2 --- /Message Snippet/ --- To fix this unwanted behaviour I added an extra 'exit 0' to each for-loop and make ignores non-existing files as before. Signed-off-by: Sven Bachmann <dev@mcbachmann.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: properly handle vlans on top of wireless interfacesjow2011-03-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: update sysctl.conf for modern kernelsjow2011-03-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: link libpthread against libcnbd2011-03-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26161 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: make library relinking uclibc specific and fix libpthread ↵nbd2011-03-101-2/+5
| | | | | | installation for the non-relinked variant git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: only relink libraries if the linaro toolchain is selectednbd2011-03-091-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: move the optimized assembler helpers back into the static libgcc and ↵nbd2011-03-081-6/+21
| | | | | | skip relinking for this arch. due to relocation constraints, the assembler functions cannot be in the shared libgcc and must always be linked in statically git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: the relinked libpthread needs to be linked against libdl, ↵nbd2011-03-081-1/+1
| | | | | | otherwise calls to dlopen() fail (fixes #8978) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: fix Build/Compile override handling, fixes ar7 compilenbd2011-03-061-5/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25911 3c298f89-4303-0410-b956-a3cf2f4a3e73