Switch to manual dummynet rc.d implementation.

The existing one does not seem to work.
This commit is contained in:
Tom Alexander
2024-07-13 14:05:14 -04:00
parent 043061fb16
commit 5d1c1e2e19
5 changed files with 43 additions and 5 deletions

View File

@@ -9,6 +9,16 @@
- src: "{{ dummynet_config }}"
dest: /etc/dnctl.conf
- name: Install rc script
copy:
src: "files/{{ item.src }}"
dest: "/usr/local/etc/rc.d/{{ item.dest|default(item.src) }}"
owner: root
group: wheel
mode: 0755
loop:
- src: dummynet
- name: Install service configuration
copy:
src: "files/{{ item }}_rc.conf"
@@ -17,4 +27,4 @@
owner: root
group: wheel
loop:
- dnctl
- dummynet