ODLPARENT-137: restore the opendaylight prompt 40/67340/4
authorStephen Kitt <skitt@redhat.com>
Fri, 19 Jan 2018 08:49:51 +0000 (09:49 +0100)
committerLuis Gomez <ecelgp@gmail.com>
Fri, 19 Jan 2018 19:09:15 +0000 (11:09 -0800)
commit8880095c8fd01cfe2d7e44656c6972409ebe8a92
tree1ba265e55906cc7c43d2594bb7c3e9a2af651352
parenta47f52562ee6590d5890b988fb5bc8bf3706e6dd
ODLPARENT-137: restore the opendaylight prompt

In Karaf 4.1 and later, it turns out that the prompt defined in the
branding is overridden by the shell initialisation script,
etc/shell.init.script, which defines its own prompt. This patch adds
our own version of that script which disables the override.

Thanks to Guillaume Nodet for figuring out where the override was
coming from, and to Michael Vorburger for the initial investigation!
See https://issues.apache.org/jira/browse/KARAF-5570 for details.

Change-Id: Id053e464896a1e5e767faac1f8c76f414b450463
Signed-off-by: Stephen Kitt <skitt@redhat.com>
karaf/src/main/assembly/etc/shell.init.script [new file with mode: 0644]