add gs service, use new eris command-line option

This commit is contained in:
Neale Pickett 2012-07-02 18:21:00 -06:00
parent 182b4ac23f
commit b1d0ba94e5
5 changed files with 22 additions and 7 deletions

6
go
View File

@ -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" \

7
packages/gs/answers.txt Normal file
View File

@ -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?

8
packages/gs/gs.mk Normal file
View File

@ -0,0 +1,8 @@
GS_PKGDIR = $(TARGET)/gs
gs-install:
mkdir -p $(GS_PKGDIR)
cp packages/gs/answers.txt $(GS_PKGDIR)
PACKAGES += gs

View File

@ -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.

View File

@ -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.