deb http://archive.raspberrypi.org/debian stretch main\n
endef
-PACKAGES := apt apt-transport-https bluez bluez-firmware bluez-tools bridge-utils btrfs-tools busybox-static bzip2 ca-certificates cron deborphan dnsmasq firmware-atheros firmware-brcm80211 firmware-libertas firmware-linux-free firmware-misc-nonfree firmware-realtek gzip htop ifupdown init iptables iputils-ping irqbalance isc-dhcp-client less libraspberrypi-bin libraspberrypi0 make net-tools nmap ntpdate openssh-client openssh-server p7zip-full pi-bluetooth rpi-update rsync ssh sshfs sudo systemd traceroute unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip
+PACKAGES := apt apt-transport-https bluez bluez-firmware bluez-tools bridge-utils btrfs-tools busybox-static bzip2 ca-certificates cron deborphan dnsmasq firmware-atheros firmware-brcm80211 firmware-libertas firmware-linux-free firmware-misc-nonfree firmware-realtek gzip htop ifupdown init iptables iputils-ping irqbalance isc-dhcp-client less libraspberrypi-bin libraspberrypi0 make net-tools nmap ntpdate openbsd-inetd openssh-client openssh-server p7zip-full pi-bluetooth rpi-update rsync ssh sshfs sudo systemd traceroute unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip
# Do not change, only override in config.mk
WIFI-SSID =
dhcp-authoritative
dhcp-range=192.168.82.16,192.168.82.254,48h
+
+address=/#/192.168.82.1
--- /dev/null
+80 stream tcp nowait nobody /bin/sed sed -nrf /srv/webserver.sed
--- /dev/null
+#!/bin/sed -nrf
+
+:START
+/\r?\n\r?$/bRESPONSE; N; bSTART;
+
+:RESPONSE
+
+/\nHost: oktopus\r?\n/{
+s;^.*$;;;
+iHTTP/1.1 200 OK\r\
+Content-Type: text/html; encoding=utf-8\r\
+Connection: close\r\
+\r\
+<HTML><HEAD><TITLE>Oktopus</TITLE></HEAD><BODY><H1>Oktopus</H1>Oktopus</BODY></HTML>
+p
+q
+}
+
+s;^.*$;;;
+iHTTP/1.1 307 Temporary Redirect\r\
+Location: http://oktopus\r\
+Connection: close\r\
+\r\
+p
+q