After this change, "rmmod" and "modinfo" works even if the user gives
the file name spelling instead of the kernel internal one, so that e.g.
"rmmod nls_iso8859-1.ko" and "rmmod nls_iso8859_1" will both succeed.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38252 3c298f89-4303-0410-b956-a3cf2f4a3e73
Instead of canonicalizing module names in the internal avl tree simpyl use a
custom strcmp() variant for the avl tree key comparisation. The custom comperator
simply treats dashes and underscores the same, so "nls_iso8859-15" is equal to
"nls-iso8859-15".
This allows us to simplify the code considerably and makes manual "modprobe"
invocations more forgiving when looking up the given module name.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38248 3c298f89-4303-0410-b956-a3cf2f4a3e73
It will be used for the WD My Net N600.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38073 3c298f89-4303-0410-b956-a3cf2f4a3e73
ubox now has modprobe support
build and install the tool
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38019 3c298f89-4303-0410-b956-a3cf2f4a3e73
- recalculate session ACLs on reload
- support negative access group expressions in /etc/config/rpcd
- prevent destryoing the default session
- use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37961 3c298f89-4303-0410-b956-a3cf2f4a3e73
- introduces persistent null session to allow access to procedures without login
- implements session.login procedure to support user logins via json-rpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37941 3c298f89-4303-0410-b956-a3cf2f4a3e73
- adds support for service triggering on config commit
- adds uci transaction support
- adds daemon reload support without loosing session data
- exports headers for use by external plugins
- drops LuCI2 in favor to an out of tree plugin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37921 3c298f89-4303-0410-b956-a3cf2f4a3e73
- support mounting swap files from /etc/config/fstab
- support mounting swap partitions by label
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37801 3c298f89-4303-0410-b956-a3cf2f4a3e73
- terminates uloop after forking in service manager
- redirects stdio to /dev/null for services executed from procd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37799 3c298f89-4303-0410-b956-a3cf2f4a3e73
- terminates uloop after forking in hotplug handler
- redirects stdio to /dev/null for processes executed from hotplug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37792 3c298f89-4303-0410-b956-a3cf2f4a3e73
- discard vfat labels with only spaces
- support using swap files
- support extroot when required kmods and block-mount are installed on jffs2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37551 3c298f89-4303-0410-b956-a3cf2f4a3e73
The malta target is broken since procd is used
as init. The initramfs image boots fine, however
the console is not working.
Improve the early console handling to fix the
problem.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* improves logread over net code
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37313 3c298f89-4303-0410-b956-a3cf2f4a3e73
this fixes a stack corruption in kmodloader. lsmod should be fixed now
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37312 3c298f89-4303-0410-b956-a3cf2f4a3e73
this fixes a regression in the watchdog init code
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37259 3c298f89-4303-0410-b956-a3cf2f4a3e73
fixes a endianess bug inside the uuid code
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add pivot root support
* add back a /etc/init.d/fstab
* add "block mount/umount" support
* add anonymous swap/mount support
* add auto swap/mount support
* fix superflous error when inserting modules
* add back jffs2reset/jffs2mark
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37057 3c298f89-4303-0410-b956-a3cf2f4a3e73
This makes sure the modules are symlinked in /etc/modules-boot.d/
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update the bootcode.bin to the newest version
- gpu/cpu mem split is now configured through config.txt, so no need
to create more than one sd card image (just edit the config.txt)
- bootcode.bin now supports the never revision 2 raspberry pis
* add a commented prepopulated config.txt for easier config changes
Taken from <https://github.com/Evilpaul/RPi-config>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36668 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use the gzipped download feature from github to get a tarball with a
stable hash.
* Use Liam McLoughlin's git which has a subset of the original git's
contents, dropping all the precompiled modules and kernels.
Reduces the download size from ~1.27 GiB to ~25 MiB.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36667 3c298f89-4303-0410-b956-a3cf2f4a3e73
make the syntax more compatible with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
These attributes where removed with kernel 3.8 and are now causing compile errors.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35335 3c298f89-4303-0410-b956-a3cf2f4a3e73
This is the version like it was send for mainline inclusion.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34988 3c298f89-4303-0410-b956-a3cf2f4a3e73