mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-27 10:31:10 +02:00
cc7c892f5b
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33705 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
483 B
Diff
21 lines
483 B
Diff
--- a/utils/opcontrol
|
|
+++ b/utils/opcontrol
|
|
@@ -248,7 +248,7 @@ load_module_26()
|
|
{
|
|
grep oprofilefs /proc/filesystems >/dev/null
|
|
if test "$?" -ne 0; then
|
|
- modprobe oprofile
|
|
+ insmod oprofile
|
|
if test "$?" != "0"; then
|
|
# couldn't load the module
|
|
return
|
|
@@ -278,7 +278,7 @@ load_module_24()
|
|
{
|
|
grep oprof /proc/devices >/dev/null
|
|
if test "$?" -ne 0; then
|
|
- modprobe oprofile
|
|
+ insmod oprofile
|
|
if test "$?" != "0"; then
|
|
# couldn't load a module
|
|
return
|