git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd036ef
)
+bin/nn
author
Jan Kratochvil
<jan@jankratochvil.net>
Thu, 11 Apr 2024 08:28:35 +0000
(16:28 +0800)
committer
Jan Kratochvil
<jan@jankratochvil.net>
Thu, 11 Apr 2024 08:28:35 +0000
(16:28 +0800)
bin/nn
[new file with mode: 0755]
patch
|
blob
diff --git a/bin/nn
b/bin/nn
new file mode 100755
(executable)
index 0000000..
d8ce7f4
--- /dev/null
+++ b/
bin/nn
@@ -0,0
+1,9
@@
+#! /bin/sh
+if [ -z "$*" ];then
+ echo >&2 "No PID"
+elif [ "$1" = "-p" ];then
+ shift
+ exec chrt -i -p 0 "$@"
+else
+ exec chrt -i 0 "$@"
+fi