puppet-standalone-mashup/shared/additional-modules/tc/templates/tc-init.d
2012-05-17 16:22:56 -04:00

24 lines
343 B
Makefile

<%= scope.function_template('base/init-d-header') %>
<%= init_d_prolog %>
<%= init_d_prerun %>
start() {
echo -n "Starting $NAME: "
<%= scope.lookupvar('tc::debian::config') %>
echo "done"
}
stop() {
echo -n "Stopping $NAME: "
tc qdisc del dev eth0 root
echo "done"
}
<%= scope.function_template('base/init-d-actions') %>