On Tue, Aug 20, 2024 at 9:46 AM -pj via openSUSE Users <users@lists.opensuse.org> wrote:
On 08-20-2024 01:23AM, Andrei Borzenkov wrote:
On Tue, Aug 20, 2024 at 8:45 AM -pj via openSUSE Users <users@lists.opensuse.org> wrote:
Patrick Shanahan, says further in threads > subject file, environment, on tumbleweed is at /usr/etc/environment
What do you think to place these variables in /usr/etc/environment and *not* in /etc/environment?
You should never edit anything in /usr. It is reserved for the distribution packages.
I have placed two systemD script files in >
/usr/local/sbin
OK, /usr/local is explicitly for local stuff and packages should never place anything there. This is the exception that proves the rule.
ls -lah total 8.0K drwxr-xr-x. 1 root root 88 Apr 20 23:20 . drwxr-xr-x. 1 root root 80 Jun 9 2021 .. -rwxr-xr-x. 1 root root 206 Apr 20 23:20 cpupower-ondemand-governor.sh -rwxr-xr-x. 1 root root 182 Feb 14 2024 PS2-Keyboard.sh
Where is a better placement for these?