[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OK to use /etc/default for non-init script default data?


let's say I have a package foo with a binary foo. The author suggests
the one should have a shell script wrapper to be able to call the foo
binary with the appropriate options. I want to do so in my package.

- Have the foo-Binary in /usr/lib/foo/foo
- Have a foo shell script wrapper in /usr/bin/foo
- /usr/bin/foo sources /etc/default/foo so that the admin can change
  the default values without interfering with the wrapper itself.

This is the way to do it for an init script. Is it OK to have a file
in  /etc/default that does not provider defaults for an init script
but for an executeable called by users?


-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

Reply to: