scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 9a47ef5a18e838178180742dda205ae8ea4006dd
parent 853aa710643d2af4b49ad004d9f289294f3e2c0e
Author: sin <sin@2f30.org>
Date:   Thu,  5 Sep 2013 10:17:02 +0100

Start network, add sic and nc

Diffstat:
Msuckless-img/create | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/suckless-img/create b/suckless-img/create @@ -77,6 +77,7 @@ chmod +x toybox mv toybox initramfs/bin cd initramfs/bin ln -s toybox ifconfig +ln -s toybox nc cd - wget -c http://amnezia.2f30.org/users/sin/src/sdhcp.tar.gz -O sdhcp.tar.gz @@ -86,6 +87,13 @@ make debug && strip sdhcp cd - cp sdhcp/sdhcp initramfs/bin +wget -c http://amnezia.2f30.org/users/sin/src/sic.tgz -O sic.tgz +tar xzf sic.tgz +cd sic +make CC=musl-gcc LDFLAGS+="-static" && strip sic +cd - +cp sic/sic initramfs/bin + # Create symlink for /bin/sh -> mksh cd initramfs/bin ln -s /bin/mksh sh @@ -110,6 +118,7 @@ mount -t proc proc /proc echo /bin/smdev > /proc/sys/kernel/hotplug smdev -s hostname suckless +ifconfig eth0 up && sdhcp eth0 while :; do sh