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:
parent
6e44fda94f
commit
9a296c1588
17 changed files with 10 additions and 335 deletions
10
root/target/linux/ipq40xx/base-files/sbin/mnf_info
Executable file
10
root/target/linux/ipq40xx/base-files/sbin/mnf_info
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue