diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-05-30 19:38:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-05-30 19:38:38 +0000 |
commit | aef3bd9e643498397c2ef33ba17d166e10518d85 (patch) | |
tree | 6c15064c011e398e88e169db7e9b3a0b5366aa93 /openwrt/package/base-files/default/etc/functions.sh | |
parent | 5b05f4a5ee5fa1dd3246350b6672d05a1aaa7f4d (diff) | |
download | mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.zip mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.tar.gz mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.tar.bz2 |
resync with kamikaze
SVN-Revision: 3844
Diffstat (limited to 'openwrt/package/base-files/default/etc/functions.sh')
-rwxr-xr-x | openwrt/package/base-files/default/etc/functions.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/etc/functions.sh b/openwrt/package/base-files/default/etc/functions.sh index 858dc28..d54a346 100755 --- a/openwrt/package/base-files/default/etc/functions.sh +++ b/openwrt/package/base-files/default/etc/functions.sh @@ -61,3 +61,7 @@ config_get() { config_set() { export CONFIG_${1}_${2}="${3}" } + +load_modules() { + sed 's/^[^#]/insmod &/' $* | ash 2>&- || : +} |