==== //depot/mwm/sys/usr/local/FM556_linux/bin/.wrapper#1 (xtext) - //depot/mwm/sys/usr/local/FM556_linux/bin/.wrapper#2 (xtext) ==== content @@ -4,6 +4,12 @@ # # Adobe Frame products startup script. +# FreeBSD support. Basically, just kick us into the FreeBSD Linux emulation. +if [ -x /compat/linux/bin/sh -a "X${FREEBSD}" = 'X' ]; then + ulimit -n 1024 # Strange, but required + FREEBSD=YES exec /compat/linux/bin/sh "$0" "$@" +fi + # Unset ENV, which ksh uses as the name of its per-invocation startup file. # Apparently some installations replace the UNIX shell with the Korn shell; # this breaks things like