summaryrefslogtreecommitdiffstats
path: root/minikrebs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-01-14 03:30:31 +0100
committermakefu <github@syntax-fehler.de>2013-01-14 03:30:31 +0100
commit1e0701b96b8eadbda23e86f365853146998dbf27 (patch)
tree5843a803159b6c22df0e9264f81781dce72aba48 /minikrebs
parentaf2b05b0c4e163a6bd6e9411accb07526b50195f (diff)
update QUICKSTART, fix script interpreter
Diffstat (limited to 'minikrebs')
-rw-r--r--minikrebs/doc/QUICKSTART5
-rwxr-xr-xminikrebs/prepare2
-rwxr-xr-xminikrebs/profiles/init2
3 files changed, 6 insertions, 3 deletions
diff --git a/minikrebs/doc/QUICKSTART b/minikrebs/doc/QUICKSTART
index de2c7362..ac4ae384 100644
--- a/minikrebs/doc/QUICKSTART
+++ b/minikrebs/doc/QUICKSTART
@@ -29,6 +29,9 @@ connect to krebs
exit
OWN_IP=192.168.1.3 ./upgrade 192.168.1.1
{{reconnect power}}
+ {{password is minikrebs}}
+# when minikrebs is in dhcp-client mode
+ echo 'dhcp-range=192.168.0.50,192.168.0.150,12h' > /etc/dnsmasq.conf
ifconfig eth0 192.168.0.1 && dnsmasq -d
-
+
diff --git a/minikrebs/prepare b/minikrebs/prepare
index 6b69db50..a22a1aa6 100755
--- a/minikrebs/prepare
+++ b/minikrebs/prepare
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -euf
IMAGEBUILDER_URL="http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/ar71xx/generic/OpenWrt-ImageBuilder-ar71xx_generic-for-linux-i486.tar.bz2"
diff --git a/minikrebs/profiles/init b/minikrebs/profiles/init
index eb5fa2af..df9fcfcd 100755
--- a/minikrebs/profiles/init
+++ b/minikrebs/profiles/init
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
cd $(dirname $(readlink -f $0))
if [ ! -e Makefile ] ;then