summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/init
diff options
context:
space:
mode:
authorYour Name <you@example.com>2013-03-15 06:02:25 -0400
committerYour Name <you@example.com>2013-03-15 06:02:25 -0400
commite1047af73a37bcb0a2395ab00e06997eb6a7b61a (patch)
tree7941af9029ea8eb0435f5cd4a97dff51cb062b0e /minikrebs/profiles/init
parentd3e60d8fac6315692f64d52f1eec55511341e7cf (diff)
parent001bfd5f2b6890cafd209de4ea360927d4dd8a55 (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Conflicts: minikrebs
Diffstat (limited to 'minikrebs/profiles/init')
-rwxr-xr-xminikrebs/profiles/init47
1 files changed, 0 insertions, 47 deletions
diff --git a/minikrebs/profiles/init b/minikrebs/profiles/init
deleted file mode 100755
index 0add700e..00000000
--- a/minikrebs/profiles/init
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-cd $(dirname $(readlink -f $0))
-if [ ! -e Makefile ] ;then
- echo "ImageBuilder not checked out yet"
- echo "try running ../prepare $$PROFILE"
- exit 1
-fi
-
-echo
-rm -r bin/ || echo "no bindir, skipping removal"
-if [ -e ./custom_make ];then
- echo "Starting Custom Make"
- sh ./custom_make 2>/dev/null | while read line; do
- echo -n .
- done
-else
- echo "No Custom Make Script exists, bailing out!"
- exit 1
-fi
-
-echo
-
-if [ -e bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin ];
-then
- cat << EOF
-finished building
-You can use the following images:
- Factory : $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin
- System Upgrade: $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin
-EOF
-elif [ -e bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin ];
-then
- cat << EOF
-finished building
-You can use the following images:
- Factory : $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
- System Upgrade: $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin
-EOF
-else
- cat << EOF
-It seems like the factory image has not been created, it is most
-likely that the image would be too big and does not fit into the tiny FLASH.
-
-Try removing modules from \`custom_make\` and retry building.
-EOF
-fi