mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
6 lines
125 B
Bash
Executable file
6 lines
125 B
Bash
Executable file
#!/bin/sh
|
|
# Install iptables rules
|
|
|
|
iptables_set_traffic_class() {
|
|
IP_RULE="$IP_RULE -j MARK --set-xmark 0x${1}0/0xF0"
|
|
}
|