mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] defaultenv-2: remove ps1 duplicates
@ 2016-08-26  5:36 Sascha Hauer
  2016-08-26  5:36 ` [PATCH 2/2] defaultenv-2: remove unused *-menu-add-entry calls Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2016-08-26  5:36 UTC (permalink / raw)
  To: Barebox List

Some boards duplicate the PS1 initialization to add a '#' at the end
of the prompt. It's not worth duplicating this for this purpose. Remove
them.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boards/at91sam9m10ihd/env/init/ps1 | 9 ---------
 arch/arm/boards/highbank/env/init/ps1       | 9 ---------
 arch/arm/boards/raspberry-pi/env/init/ps1   | 7 -------
 arch/arm/boards/versatile/env/init/ps1      | 7 -------
 4 files changed, 32 deletions(-)
 delete mode 100644 arch/arm/boards/at91sam9m10ihd/env/init/ps1
 delete mode 100644 arch/arm/boards/highbank/env/init/ps1
 delete mode 100644 arch/arm/boards/raspberry-pi/env/init/ps1
 delete mode 100644 arch/arm/boards/versatile/env/init/ps1

diff --git a/arch/arm/boards/at91sam9m10ihd/env/init/ps1 b/arch/arm/boards/at91sam9m10ihd/env/init/ps1
deleted file mode 100644
index a94acc1..0000000
--- a/arch/arm/boards/at91sam9m10ihd/env/init/ps1
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-/env/config
-
-if [ ${global.allow_color} = "true" ]; then
-	export PS1="\e[1;32mbarebox@\e[1;36m\h:\w\e[0m\n# "
-else
-	export PS1="barebox@\h:\w\n# "
-fi
diff --git a/arch/arm/boards/highbank/env/init/ps1 b/arch/arm/boards/highbank/env/init/ps1
deleted file mode 100644
index a94acc1..0000000
--- a/arch/arm/boards/highbank/env/init/ps1
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-/env/config
-
-if [ ${global.allow_color} = "true" ]; then
-	export PS1="\e[1;32mbarebox@\e[1;36m\h:\w\e[0m\n# "
-else
-	export PS1="barebox@\h:\w\n# "
-fi
diff --git a/arch/arm/boards/raspberry-pi/env/init/ps1 b/arch/arm/boards/raspberry-pi/env/init/ps1
deleted file mode 100644
index f894846..0000000
--- a/arch/arm/boards/raspberry-pi/env/init/ps1
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-if [ ${global.allow_color} = "true" ]; then
-        export PS1="\e[1;32mbarebox@\e[1;36m\h:\w\e[0m\n# "
-else
-        export PS1="barebox@\h:\w\n# "
-fi
diff --git a/arch/arm/boards/versatile/env/init/ps1 b/arch/arm/boards/versatile/env/init/ps1
deleted file mode 100644
index a1d0754..0000000
--- a/arch/arm/boards/versatile/env/init/ps1
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-if [ ${global.allow_color} = "true" ]; then
-	export PS1="\e[1;32mbarebox@\e[1;36m\h:\w\e[0m\n# "
-else
-	export PS1="barebox@\h:\w\n# "
-fi
-- 
2.8.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-26  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-26  5:36 [PATCH 1/2] defaultenv-2: remove ps1 duplicates Sascha Hauer
2016-08-26  5:36 ` [PATCH 2/2] defaultenv-2: remove unused *-menu-add-entry calls Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox