troglobit/inadyn

Missing .conf file, and can not create a new one

DZ65367709 opened this issue · 2 comments

When I use cmd “inadyn —check-config “, it responses: “ Cannot read configuration file /usr/etc/inadyn.conf”—in logs I find it’s missing, so I attempt to create a directory and copy an prepared in, first-step: “mkdir -p /usr/etc”, it said :” mkdir: can't create directory '/usr/etc': Read-only file system” …
Anyone please help telling me how to create this directory so as to copy an existing config file into it. …or any other method let it work. Thanks.

You can specify any other file location as config file, like this:

inadyn --config=/path/to/your/file

The path you are trying to access is restricted to adminstrator users on the system (called root). If you really want to use that location, you may be successful using sudo before the mkdir or other commands.