summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-bullseye-su-fix
blob: c3d47dce26c1736f46b8da40fae7b3d34557fcbc (plain)
1
2
3
4
5
6
7
8
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