The same script is placed in the PS1_DIY.sh as /etc/profile.d/
Runs automatically and succeeds when logging in in 13.
In 14 it doesn't run automatically, but it can run manually and succeed.
When I moved the script in 13
Here are the results
This means that the /etc/profile.d/PS1_DIY.sh of 13 is in the correct location. Just place and don't need to load.
But in 14 the same position really does not work.
If the script is loaded in ~/.profile at 14, it can run automatically on login.
However, the script is loaded in /etc/pofile in 14 and does not run automatically on login.
Runs automatically and succeeds when logging in in 13.
In 14 it doesn't run automatically, but it can run manually and succeed.
When I moved the script in 13
Here are the results
This means that the /etc/profile.d/PS1_DIY.sh of 13 is in the correct location. Just place and don't need to load.
But in 14 the same position really does not work.
If the script is loaded in ~/.profile at 14, it can run automatically on login.
However, the script is loaded in /etc/pofile in 14 and does not run automatically on login.