]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Fix command for linking modules in mods-enabled. 1931/head
authorSebastian J. Bronner <waschtl@sbronner.com>
Tue, 7 Mar 2017 09:07:49 +0000 (10:07 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Mar 2017 09:07:49 +0000 (10:07 +0100)
commit0f24d677afadae00d15109358316b6c42df8719a
tree51749934105aaec1164de5d3ebda14070a3b394f
parentd5a382ecdadaa022a917b91f1ea96e73ef189150
Fix command for linking modules in mods-enabled.

Running `ln -s mods-available/foo mods-enabled/foo` will result in a dead link: `mods-enabled/foo` will point to `mods-enabled/mods-available/foo`, which doesn't exist. The link is relative from its location, not from the current directory from which it was created.

The easiest method that allows using tab completion is to link from within `mods-enabled`. The second parameter to `ln` can be left off in that case, as well. This is the change I have proposed. Another alternative would be to run `ln -s ../mods-available/foo mods-enabled/foo` from the `raddb` directory.
raddb/README.rst