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 db2eea8c7f
commit 0c21efb96c
5 changed files with 22 additions and 7 deletions

6
go
View File

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

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

View File

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