mirror of https://github.com/dirtbags/moth.git
add gs service, use new eris command-line option
This commit is contained in:
parent
170e63fa4f
commit
d7a06cb0a6
6
go
6
go
|
@ -10,7 +10,7 @@ case ${1:-$TYPE} in
|
|||
packages='router'
|
||||
;;
|
||||
p2)
|
||||
packages='p2 sequence'
|
||||
packages='p2 gs p2steg archaeology '
|
||||
;;
|
||||
p2cli)
|
||||
packages='p2client'
|
||||
|
@ -45,8 +45,8 @@ echo $ARCH
|
|||
|
||||
if [ $ARCH = i386-linux ]; then
|
||||
lsmod | grep -q kvm-intel || sudo modprobe kvm-intel
|
||||
sudo kvm \
|
||||
-serial stdio \
|
||||
sudo qemu-system-i386 \
|
||||
-nographic \
|
||||
-kernel $HOME/src/buildroot/output/images/bzImage \
|
||||
-initrd $HOME/src/buildroot/output/images/rootfs.squashfs \
|
||||
-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
|
||||
done
|
||||
|
||||
ln -sf /var/www default
|
||||
exec tcpsvd -u ctf ${IP%/*} 80 /opt/mcp/bin/eris -c
|
||||
cd /var/www
|
||||
exec tcpsvd -u ctf ${IP%/*} 80 /opt/mcp/bin/eris -c.
|
||||
|
|
|
@ -16,5 +16,5 @@ for d in /opt/*; do
|
|||
fi
|
||||
done
|
||||
|
||||
ln -sf /var/www default
|
||||
exec tcpsvd -u nobody ${IP%/*} 80 /opt/p2/bin/eris -c
|
||||
cd /var/www
|
||||
exec tcpsvd -u nobody ${IP%/*} 80 /opt/p2/bin/eris -c.
|
||||
|
|
Loading…
Reference in New Issue