Create a file called /media/state/units/docker-local.service that has the following contents:
[Unit]
Description=docker local
[Service]
PermissionsStartOnly=true
| HOST=x86_64-unknown-linux-gnu | |
| #TARGET=mips-unknown-linux-gnu | |
| #CROSS_TOOL=$HOME/tmp/mips-2013.05/bin | |
| #CXX=mips-linux-gnu-g++ | |
| #CXXFLAGS="-shared -fPIC -mips32r2 -msoft-float -mabi=32" | |
| #LLCFLAGS="-march=mips -mcpu=mips32r2 -soft-float -mattr=+mips32r2,+o32 -relocation-model=pic -disable-fp-elim -segmented-stacks" | |
| TARGET=arm-unknown-linux-gnueabihf | |
| CROSS_TOOL=$HOME/tmp/rpi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin |
| #!/bin/bash | |
| function tip { echo -e '\E[37;44m'"\033[1m$1\033[0m"; } | |
| set +h | |
| umask 022 | |
| export LFS="/srv/lfs/6.6" | |
| export LC_ALL=POSIX | |
| export LFS_TGT=$(uname -m)-lfs-linux-gnu | |
| export PATH=/tools/bin:/bin:/usr/bin |
| #!/bin/bash | |
| IFNET="eth0" | |
| IPNET="8.8.8.8" | |
| PORTS="20 21 25 80 8000 8888 12000 12001 12002 12003" | |
| BANLIST="64.205.0.18" | |
| if [ "$1" = "start" ]; then | |
| echo "Starting firewall..." |