And why don't you just alter the features config and add your features to the boot features? Or did you consider to built a custom distribution on top of Karaf with those features as boot features?
regards, Achim 2013/5/23 Tim Moloney <tim.molo...@gmail.com> > Is it possible to pass the name of a feature to load to the shell script > that starts karaf? > Alternately, is it possible to pass a gogo command to the shell script > that starts karaf? > > We have several applications that all use the same underlying dependencies > that are deployed in the ${KARAF_BASE}/system repo. We'd like to be able > to create bash shell aliases to conveniently start each of the > applications, e.g., > > alias app1='/path/to/karaf/bin/karaf featuresBoot=app1' > alias app2='/path/to/karaf/bin/karaf featuresBoot=app2' > ... > > or > > alias app1='/path/to/karaf/bin/karaf gogoCommand=features:install app1' > alias app2='/path/to/karaf/bin/karaf gogoCommand=features:install app2' > ... > > Thanks, > Tim > > -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/>