diff options
Diffstat (limited to 'config/chroot_local-hooks')
-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 |