First commit
This commit is contained in:
commit
45330a58ea
3
check-cpu-throttle.sh
Executable file
3
check-cpu-throttle.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq | paste -s | awk '{print $1/$2}'
|
7
cuesplit.sh
Executable file
7
cuesplit.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
FLAC=$(find . -iname "*.flac")
|
||||||
|
CUE=$(find . -iname "*.cue")
|
||||||
|
|
||||||
|
shnsplit -f "$CUE" -t "%n %t" "$FLAC"
|
||||||
|
|
6
nat-start.sh
Executable file
6
nat-start.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
||||||
|
iptables -P FORWARD ACCEPT
|
||||||
|
sysctl -w net.ipv4.ip_forward=1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user