1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Replace mnfinfo binary by a bash script

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-03-09 10:42:04 +01:00
parent 6e44fda94f
commit 9a296c1588
17 changed files with 10 additions and 335 deletions

View file

@ -0,0 +1,10 @@
#!/bin/sh
while [[ $# -gt 0 ]]; do
case $1 in
-n|--name)
echo $(dd if=/dev/mtd13 bs=1 count=12 skip=16 2>/dev/null)
shift
;;
esac
done