Просмотр исходного кода

Merge branch 'master' of github.com:bryanpedini/linux-utils

master
Bryan Pedini 5 лет назад
Родитель
Сommit
a577cc5423
2 измененных файлов: 10 добавлений и 0 удалений
  1. +7
    -0
      noos-noarch/home/bryanpedini/bin/iommu-discovery
  2. +3
    -0
      noos-noarch/home/bryanpedini/bin/ssh-passphrase

+ 7
- 0
noos-noarch/home/bryanpedini/bin/iommu-discovery Просмотреть файл

@@ -0,0 +1,7 @@
#!/usr/bin/env bash

for d in /sys/kernel/iommu_groups/*/devices/*; do
n=${d#*/iommu_groups/*}; n=${n%%/*}
printf 'IOMMU Group %s ' "$n"
lspci -nns "${d##*/}"
done;

+ 3
- 0
noos-noarch/home/bryanpedini/bin/ssh-passphrase Просмотреть файл

@@ -0,0 +1,3 @@
#!/bin/sh

ssh-keygen -p

Загрузка…
Отмена
Сохранить