public void init(Buffer shellout) {
try {
// create new Cache Object implementation
//shell.setCache(new SimpleMemCache());
shell.setContext(new FlatContext());
try {
if (shell.getVFS().exists(null, new FileName("/etc/shell/init.rc"), true))
shell.executeAsObject("run /etc/shell/init.rc"); // NullInput In case no redirects specified of course
} catch (Exception ex) {
log.error("Error while executing 'run /etc/shell/init.rc'", ex);