extern int shell_main(struct lgsm_handle *lgsmh);