mirror of https://github.com/dirtbags/moth.git
add gs service, use new eris command-line option
This commit is contained in:
parent
9b5bd34a47
commit
ce189614b7
6
go
6
go
|
@ -10,7 +10,7 @@ case ${1:-$TYPE} in
|
||||||
packages='router'
|
packages='router'
|
||||||
;;
|
;;
|
||||||
p2)
|
p2)
|
||||||
packages='p2 sequence'
|
packages='p2 gs p2steg archaeology '
|
||||||
;;
|
;;
|
||||||
p2cli)
|
p2cli)
|
||||||
packages='p2client'
|
packages='p2client'
|
||||||
|
@ -45,8 +45,8 @@ echo $ARCH
|
||||||
|
|
||||||
if [ $ARCH = i386-linux ]; then
|
if [ $ARCH = i386-linux ]; then
|
||||||
lsmod | grep -q kvm-intel || sudo modprobe kvm-intel
|
lsmod | grep -q kvm-intel || sudo modprobe kvm-intel
|
||||||
sudo kvm \
|
sudo qemu-system-i386 \
|
||||||
-serial stdio \
|
-nographic \
|
||||||
-kernel $HOME/src/buildroot/output/images/bzImage \
|
-kernel $HOME/src/buildroot/output/images/bzImage \
|
||||||
-initrd $HOME/src/buildroot/output/images/rootfs.squashfs \
|
-initrd $HOME/src/buildroot/output/images/rootfs.squashfs \
|
||||||
-append "console=ttyS0 packages=/dev/sda ipv6 debug" \
|
-append "console=ttyS0 packages=/dev/sda ipv6 debug" \
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
10 making science
|
||||||
|
30 viewfinders filets
|
||||||
|
40 b00m! face punch.
|
||||||
|
40 B00M! FACE PUNCH.
|
||||||
|
60 A WINNER IS YOU
|
||||||
|
80 overhaul credential
|
||||||
|
90 A WINNER IS WHO?
|
|
@ -0,0 +1,8 @@
|
||||||
|
GS_PKGDIR = $(TARGET)/gs
|
||||||
|
|
||||||
|
gs-install:
|
||||||
|
mkdir -p $(GS_PKGDIR)
|
||||||
|
cp packages/gs/answers.txt $(GS_PKGDIR)
|
||||||
|
|
||||||
|
PACKAGES += gs
|
||||||
|
|
|
@ -18,5 +18,5 @@ for d in /opt/*; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
ln -sf /var/www default
|
cd /var/www
|
||||||
exec tcpsvd -u ctf ${IP%/*} 80 /opt/mcp/bin/eris -c
|
exec tcpsvd -u ctf ${IP%/*} 80 /opt/mcp/bin/eris -c.
|
||||||
|
|
|
@ -16,5 +16,5 @@ for d in /opt/*; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
ln -sf /var/www default
|
cd /var/www
|
||||||
exec tcpsvd -u nobody ${IP%/*} 80 /opt/p2/bin/eris -c
|
exec tcpsvd -u nobody ${IP%/*} 80 /opt/p2/bin/eris -c.
|
||||||
|
|
Loading…
Reference in New Issue