blob: 30980d0c4a2fa8f7eccced3e18ea312e534309cf (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
# Rewrite of ksm-wrapper to use standard lib path
sofile=libksm_preload.so
case " $LD_PRELOAD " in
(*[:\ ]"$sofile"[:\ ]*) ;;
(*) LD_PRELOAD="${LD_PRELOAD:+$LD_PRELOAD }$sofile"
export LD_PRELOAD;;
esac
exec "$@"
|