* This file is part of door_daemon.
*
* door_daemon is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3 as
- * published by the Free Software Foundation.
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
*
* door_daemon is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
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)
printf(" [-L|--log] <target>:<level>[,<param1>[,<param2>..]]\n");
printf(" add a log target, can be invoked several times\n");
- printf(" [-d|--device] <tty device> the device file e.g. /dev/ttyUSB0\n");
- printf(" [-s|--command-sock] <unix sock> the command socket e.g. /var/run/door_daemon\n");
+ printf(" [-d|--device] <tty device> the device file e.g. /dev/door\n");
+ printf(" [-s|--command-sock] <unix sock> the command socket e.g. /var/run/door_daemon/cmd.sock\n");
}
void options_print(options_t* opt)