summaryrefslogtreecommitdiffstats
path: root/defaultenv
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-06-19 11:57:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-23 09:19:52 +0200
commitb3a667cd841802074f5d97453c4ba6364c706c27 (patch)
treeecdfcc79686821b62d2b59173277422da4383764 /defaultenv
parent8316f29859e413413294663e39932fe17cf5a4d9 (diff)
downloadbarebox-b3a667cd841802074f5d97453c4ba6364c706c27.tar.gz
remove unused boot-menu-add-entry
The boot-menu-add-entry script no longer exists. Remove it from boot scripts. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv')
-rw-r--r--defaultenv/defaultenv-2-base/boot/net5
-rw-r--r--defaultenv/defaultenv-2-base/data/boot-template5
-rw-r--r--defaultenv/defaultenv-2-dfu/boot/dfu5
3 files changed, 0 insertions, 15 deletions
diff --git a/defaultenv/defaultenv-2-base/boot/net b/defaultenv/defaultenv-2-base/boot/net
index 05bb728..ced2fad 100644
--- a/defaultenv/defaultenv-2-base/boot/net
+++ b/defaultenv/defaultenv-2-base/boot/net
@@ -1,10 +1,5 @@
#!/bin/sh
-if [ "$1" = menu ]; then
- boot-menu-add-entry "$0" "network (tftp, nfs)"
- exit
-fi
-
path="/mnt/tftp"
global.bootm.image="${path}/${global.user}-linux-${global.hostname}"
diff --git a/defaultenv/defaultenv-2-base/data/boot-template b/defaultenv/defaultenv-2-base/data/boot-template
index 9297499..689d98e 100644
--- a/defaultenv/defaultenv-2-base/data/boot-template
+++ b/defaultenv/defaultenv-2-base/data/boot-template
@@ -1,10 +1,5 @@
#!/bin/sh
-if [ "$1" = menu ]; then
- boot-menu-add-entry "$0" "<menu text here>"
- exit
-fi
-
global.bootm.image=<path to image>
#global.bootm.oftree=<path to oftree>
#global.bootm.initrd=<path to initrd>
diff --git a/defaultenv/defaultenv-2-dfu/boot/dfu b/defaultenv/defaultenv-2-dfu/boot/dfu
index c9463b6..6820911 100644
--- a/defaultenv/defaultenv-2-dfu/boot/dfu
+++ b/defaultenv/defaultenv-2-dfu/boot/dfu
@@ -1,10 +1,5 @@
#!/bin/sh
-if [ "$1" = menu ]; then
- boot-menu-add-entry "$0" "Device Firmware upgrade (DFU)"
- exit
-fi
-
if [ -d /dfutmp ]; then
rm -r /dfutmp
fi