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

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

fi