summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-buster-su-fix
blob: 4a0c325214380792e48bbe4aef7d9e983cd9de23 (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" = "buster" ]; then

# force old su behaviour
echo "ALWAYS_SET_PATH yes" >>/etc/default/su

fi