On 03/02/2011 08:56 AM, Sim IJskes wrote:
On 02-03-11 04:09, adel wrote:
This is a problem faced by ~$ touch /etc/osmocom/osmocom.cfg touch: cannot touch `/etc/osmocom/osmocom.cfg': No such file or directory Does someone has a solution to this problem
Hey Andreas, would you mind if we don't require special privileges to start mobile? E.g. the below patch?
diff --git a/src/host/layer23/src/mobile/main.c b/src/host/layer23/src/mobile/main.c index 87aa4c6..283e3c6 100644 --- a/src/host/layer23/src/mobile/main.c +++ b/src/host/layer23/src/mobile/main.c @@ -44,7 +44,7 @@ struct log_target *stderr_target;
void *l23_ctx = NULL; -static const char *config_file = "/etc/osmocom/osmocom.cfg"; +static const char *config_file = "osmocom.cfg"; struct llist_head ms_list; static uint32_t gsmtap_ip = 0; unsigned short vty_port = 4247;