NetBoot/buildapp.bash
Elliot Nunn 53b5ef68b8 First steps towards a native server
It can advertise a DDP socket, then crash in the socket listener.
2020-10-13 19:44:54 +08:00

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