1 2 3 4
if grep -Fqsx 1 "/proc/sys/fs/protected_hardlinks"; then echo "mkimage-preinstall: allowing to hardlink non-owned files..." >&2 echo 0 > /proc/sys/fs/protected_hardlinks fi