# How do I create an /etc configuration file that is always up to date with the default from the image?

**URL:** <https://universal-blue.discourse.group/t/how-do-i-create-an-etc-configuration-file-that-is-always-up-to-date-with-the-default-from-the-image/2835>\
**Category:** General\
**Tags:** custom-images\
**Created:** [July 8, 2024, 8:58am UTC](https://universal-blue.discourse.group/t/how-do-i-create-an-etc-configuration-file-that-is-always-up-to-date-with-the-default-from-the-image/2835 "2024-07-08T08:58:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![noahdotpy](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@noahdotpy](https://universal-blue.discourse.group/u/noahdotpy)\
**Post date:** [July 8, 2024, 8:58am UTC](https://universal-blue.discourse.group/t/how-do-i-create-an-etc-configuration-file-that-is-always-up-to-date-with-the-default-from-the-image/2835/1 "2024-07-08T08:58:13Z")

</div>

I am trying to create an /etc/profile.d/abc.sh but I want it to always be up to date with what is in /usr/etc/profile.d/abc.sh. How could I do this? I know I could maybe use symlinks to do this but how would that work?

---

<div class="post-metadata">

**Author:** ![noahdotpy](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@noahdotpy](https://universal-blue.discourse.group/u/noahdotpy)\
**Post date:** [July 8, 2024, 9:53am UTC](https://universal-blue.discourse.group/t/how-do-i-create-an-etc-configuration-file-that-is-always-up-to-date-with-the-default-from-the-image/2835/2 "2024-07-08T09:53:58Z")

</div>

I am going to do this:

create a symlink file at /usr/etc/profile.d/abc.sh on the image that points to /usr/share/ublue-os/etc/profile.d/abc.sh, which is where the script is stored.
