diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-01-23 07:30:26 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-01-23 07:30:26 +0400 |
commit | 9c68a6eec4d6b4b973a48a9ba83114f008a60556 (patch) | |
tree | e42572bb393097be6e0acab0e791a4afcf7b3998 /accel-pppd | |
parent | bdf5bd00fa21707a7f09c95e76106682355f0927 (diff) | |
download | accel-ppp-xebd-9c68a6eec4d6b4b973a48a9ba83114f008a60556.tar.gz accel-ppp-xebd-9c68a6eec4d6b4b973a48a9ba83114f008a60556.zip |
shaper: add missing install rules
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/shaper/CMakeLists.txt | 4 | ||||
-rw-r--r-- | accel-pppd/shaper/limiter.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/accel-pppd/shaper/CMakeLists.txt b/accel-pppd/shaper/CMakeLists.txt index 989aceb..abfd8ec 100644 --- a/accel-pppd/shaper/CMakeLists.txt +++ b/accel-pppd/shaper/CMakeLists.txt @@ -1,2 +1,6 @@ ADD_LIBRARY(shaper SHARED shaper.c limiter.c tc_core.c libnetlink.c) +INSTALL(TARGETS shaper + LIBRARY DESTINATION lib/accel-ppp +) + diff --git a/accel-pppd/shaper/limiter.c b/accel-pppd/shaper/limiter.c index d985682..d810594 100644 --- a/accel-pppd/shaper/limiter.c +++ b/accel-pppd/shaper/limiter.c @@ -479,6 +479,8 @@ int init_ifb(const char *name) .quantum = conf_r2q, .qdisc = qdisc_htb_root, }; + + system("modprobe ifb"); memset(&ifr, 0, sizeof(ifr)); strcpy(ifr.ifr_name, name); |