On 01.02.2011 20:58, Pawel Golaszewski wrote:
On Tue, 1 Feb 2011, Przemyslaw Iskra wrote:
rc-scripts-user / userscripts allows normal users to schedule and
execute tasks on system startup and shutdown. Please test and comment.
Once it gets on any production system it will be hard to change
interface without breaking user configuration.
The interface is:
* All scripts in ~/.config/init.d/ (hardcoded path, no xdg support)
- any better ideas ?
~/.config/init/
symmetric to /etc/init then ~/.config/init would be scripts for upstart,
so i'd say ~/.config/init.d is fine
xdg itself is simple, but loading user configuration to it, is
difficult, so i'd say leave hardcoded .config, this can be changed later
if somebody really interested :)
* all *~ and *.bak files are ignored
- ignore something else ?
.rpmnew, .rpmsave...
There is few more temporary filetypes.
i suggest to process only extensions *.sh and *.init, whitelisting
always works better than blacklisting.
--
glen
_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en