You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful if uacme did setenv("UACME_CONFDIR", confdir, 1); somewhere early in main so hook scripts that want to keep their own configuration in the same directory structure could use that variable (or whatever you call it) to find their stuff.
This is already possible if the caller (e.g. the cronjob) chdirs to the confdir before invoking uacme, of course. It would just be nicer if the caller didn’t have to do anything but run uacme and the hook could just pick up where to look from its environment.
The text was updated successfully, but these errors were encountered:
Oh, and for similar reasons a UACME_LOGLEVEL or something that reflects g_loglevel would also be nice – in order for hooks to know whether to blather or shut up depending on how verbose uacme itself was asked to be.
It would be useful if uacme did
setenv("UACME_CONFDIR", confdir, 1);
somewhere early inmain
so hook scripts that want to keep their own configuration in the same directory structure could use that variable (or whatever you call it) to find their stuff.This is already possible if the caller (e.g. the cronjob) chdirs to the confdir before invoking uacme, of course. It would just be nicer if the caller didn’t have to do anything but run uacme and the hook could just pick up where to look from its environment.
The text was updated successfully, but these errors were encountered: