Skip to content
Permalink
Browse files

Remove /dev/ from drootdev

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 25, 2019
1 parent f973e3a commit 2673dbc7a8e11c9f7b1da4af397b851fea3716bc
Showing with 1 addition and 0 deletions.
  1. +1 −0 info2.sh
@@ -107,6 +107,7 @@ switch($argv[1]) {
reset($tmp);
foreach ($tmp as $key => $value) {
if ($key != $lastkey) {
$value = str_replace('/dev/','',$value);
echo trim($value);
if (count($tmp) > 2) echo 'p'; // actual device name contains a p in the name
}

0 comments on commit 2673dbc

Please sign in to comment.
You can’t perform that action at this time.