summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Schreiber <blizzy@gentoo.org>2002-07-12 00:57:11 +0000
committerMaik Schreiber <blizzy@gentoo.org>2002-07-12 00:57:11 +0000
commit0bb5d8bef32f07ffaeafe8c35a0a6acdca236053 (patch)
tree30e6ae56f0f4d52cc6e8410098c9bc3eea142b74 /net-misc/cbqinit/files
parentNew version & stale ebuilds removal... (diff)
downloadgentoo-2-0bb5d8bef32f07ffaeafe8c35a0a6acdca236053.tar.gz
gentoo-2-0bb5d8bef32f07ffaeafe8c35a0a6acdca236053.tar.bz2
gentoo-2-0bb5d8bef32f07ffaeafe8c35a0a6acdca236053.zip
initial import
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 $?
+}