Problem still persist in karaf 3.0.2 The script is: ------------------------------------- ld = { log:display $args } ; lde = { log:exception-display $args } ; la = { bundle:list -t 0 $args } ; ls = { service:list $args } ; cl = { config:list "(service.pid=$args)" } ; halt = { system:shutdown -h -f $args } ; help = { *:help $args | more } ; man = { help $args } ; log:list = { log:get ALL } ; watch1 = { bundle:watch mvn:org.maroshi.sample/sandbox-karaf/0.0.1-SNAPSHOT } *shell:echo Karaf ready!* -------------------------------------
the result is: ------------------------------------- __ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (3.0.2) Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf. *Error in initialization script: Command not found: shell:echo* karaf@root()> ------------------------------------- -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-3-0-1-etc-shell-init-script-Fails-run-command-tp4035832p4035917.html Sent from the Karaf - User mailing list archive at Nabble.com.