8 lines
86 B
Bash
Executable file
8 lines
86 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
pid="$(pidof "$1")"
|
|
shift
|
|
prio="${1:--22}"
|
|
|
|
sudo renice "$prio" "$pid"
|
|
|