I was wondering if it is a good practice to make the following configuration files as symlinks to some scripts under a directory e.g. ~/program_files/configurations/
.
The scripts
/etc/rc.local, /etc/profile, ~/.profile, ~/.bash_profile, ~/.bashrc
are executed upon OS starting up, login shell starting up, and interactive non-login shell starting up respectively.Scripts under
/usr/lib/pm-utils/sleep.d/
and/etc/pm/sleep.d/
are executed upon OS suspension/hibernation and resuming/thawing.
My intention is that it will be easier to back up files in a directory than files in multiple directories.
Will using symlinks as configuration files create some unseen problems down the road?
Is it also a good idea to write a script to link the configuration files under ~/program_files/configuration/
to where they will be used respectively?
Thanks.