X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=door_daemon%2Foptions.c;h=5bc62936847958007687733c69a78b49c1d34719;hb=790dd268950e4466e605788bcb7c632bcfac7a0b;hp=b438808217fd6a7305f3ea01d135dfe4a7d66831;hpb=b21e9a81370d177731b2b659ab78c12c475303ae;p=svn42.git diff --git a/door_daemon/options.c b/door_daemon/options.c index b438808..5bc6293 100644 --- a/door_daemon/options.c +++ b/door_daemon/options.c @@ -200,7 +200,7 @@ void options_default(options_t* opt) string_list_init(&opt->log_targets_); opt->door_dev_ = strdup("/dev/door"); - opt->command_sock_ = strdup("/var/run/door_daemon"); + opt->command_sock_ = strdup("/var/run/door_daemon/cmd.sock"); } void options_clear(options_t* opt) @@ -238,8 +238,8 @@ void options_print_usage() printf(" [-L|--log] :[,[,..]]\n"); printf(" add a log target, can be invoked several times\n"); - printf(" [-d|--device] the device file e.g. /dev/ttyUSB0\n"); - printf(" [-s|--command-sock] the command socket e.g. /var/run/door_daemon\n"); + printf(" [-d|--device] the device file e.g. /dev/door\n"); + printf(" [-s|--command-sock] the command socket e.g. /var/run/door_daemon/cmd.sock\n"); } void options_print(options_t* opt)