summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/cbqinit/files')
-rw-r--r--net-misc/cbqinit/files/cbq-1280.My_first_shaper.sample5
-rw-r--r--net-misc/cbqinit/files/digest-cbqinit-0.71
-rw-r--r--net-misc/cbqinit/files/rc_cbqinit17
3 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/cbqinit/files/cbq-1280.My_first_shaper.sample b/net-misc/cbqinit/files/cbq-1280.My_first_shaper.sample
new file mode 100644
index 000000000000..3b3c1a01804b
--- /dev/null
+++ b/net-misc/cbqinit/files/cbq-1280.My_first_shaper.sample
@@ -0,0 +1,5 @@
+DEVICE=eth0,10Mbit,1Mbit
+RATE=128Kbit
+WEIGHT=10Kbit
+PRIO=5
+RULE=192.128.1.0/24
diff --git a/net-misc/cbqinit/files/digest-cbqinit-0.7 b/net-misc/cbqinit/files/digest-cbqinit-0.7
new file mode 100644
index 000000000000..f04bbd127e8e
--- /dev/null
+++ b/net-misc/cbqinit/files/digest-cbqinit-0.7
@@ -0,0 +1 @@
+MD5 6842de9bef1cb1e18f5d843e6f4aa569 cbq.init-v0.7 31552
diff --git a/net-misc/cbqinit/files/rc_cbqinit b/net-misc/cbqinit/files/rc_cbqinit
new file mode 100644
index 000000000000..e4e7351d2fba
--- /dev/null
+++ b/net-misc/cbqinit/files/rc_cbqinit
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting cbqinit"
+ /usr/sbin/cbqinit start
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping cbqinit"
+ /usr/sbin/cbqinit stop
+ eend $?
+}