mirror of
https://github.com/elliotnunn/NetBoot.git
synced 2024-09-01 00:28:57 +00:00
19 lines
398 B
Bash
Executable File
19 lines
398 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
EXT=.INIT
|
|
|
|
for x; do
|
|
touch "$x$EXT"
|
|
echo -n 'INIT????' >"$x$EXT.idump"
|
|
echo -n '' >"$x$EXT.rdump"
|
|
|
|
for subfile in "$x"/*; do
|
|
./vasm-1/vasmm68k_mot -quiet -Fbin -pic -o /tmp/mytmp "$subfile"
|
|
rspec="${subfile%.*}"
|
|
rspec="$(basename "$rspec" | sed -E 's!([-[:digit:]])!/\1!')"
|
|
rfx cp /tmp/mytmp "$x$EXT.rdump//$rspec"
|
|
done
|
|
done
|