diff options
author | Holger Paradies <retabell@gmx.de> | 2021-03-27 13:08:24 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2021-03-27 13:11:21 +0100 |
commit | 0ce157d4f3605963ee92c506b5f1dbce858e6b74 (patch) | |
tree | 2213c9dff43ad32ae497cb8ac8b0d95438af2e24 /config/chroot_local-hooks/03-bullseye-su-fix | |
parent | d2744aaa7e44caeda05203b7d83cb1665337b4a8 (diff) | |
download | kanotix-0ce157d4f3605963ee92c506b5f1dbce858e6b74.zip kanotix-0ce157d4f3605963ee92c506b5f1dbce858e6b74.tar.gz |
Speedfire change su behaviour
Diffstat (limited to 'config/chroot_local-hooks/03-bullseye-su-fix')
-rwxr-xr-x | config/chroot_local-hooks/03-bullseye-su-fix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/03-bullseye-su-fix b/config/chroot_local-hooks/03-bullseye-su-fix new file mode 100755 index 0000000..c3d47dc --- /dev/null +++ b/config/chroot_local-hooks/03-bullseye-su-fix @@ -0,0 +1,9 @@ +#!/bin/sh +for file in /root/config/*; do [ -r $file ] && . $file; done + +if [ "$LB_DISTRIBUTION" = "bullseye" ]; then + +# force old su behaviour +echo "ALWAYS_SET_PATH yes" >>/etc/default/su + +fi |