4 # source: svn co https://svn.code.sf.net/p/etherdfs/code
6 # on DOS: etherdfs <server MAC addr> C-Z
7 # on GNU/Linux: sudo ethersrv-linux eth0 /etherdfs
9 # /etherdfs is a mount point for a FAT16 image, fstab entry:
10 # /home/nuclear/code/dos/etherdfs.img /etherdfs msdos loop,fmask=0113,dmask=0002,gid=6 0 0
12 destdir=/etherdfs/eradicat
23 echo "invalid option: $arg"
28 if $have_dest_arg; then
29 echo "unexpected argument: $arg"
43 mkdir -p $destdir/data
46 cp data/* $destdir/data/
51 find . -name '*.c' -o -name '*.h' -o -name '*.asm' -o -name '*.inc' \
52 -o -name '*.inl' -o -name Makefile | sed 's/\.\///'
54 for i in `findsrc`; do
56 mkdir -p $destdir/$dir