#!/bin/sh
echo "If you want, type: /bin/chflags_real $*"

# I loathe chflags & the nuisance it brings, & need for chflags -noschg
# So for now I just manualy:
#	mv /bin/chflags /bin/chflags_real
#	cp chflags_dummy /bin/chflags
# Later I may further automate it.
# Unfortunately one needs to keep the original chflags to remove the acursed
# schg bits etc.

# One example of the nuisance (encountered with cross host amd mounts):
#	cd /usr/src ; setenv DESTDIR /host/lapr/usr1/tmp/destdir; make install
#	/host/lapr/usr1/tmp/destdir/usr/bin/ypchsh -> \
#		/host/lapr/usr1/tmp/destdir/usr/bin/chpass
#	chflags schg /host/lapr/usr1/tmp/destdir/usr/bin/chpass
#	chflags: /host/lapr/usr1/tmp/destdir/usr/bin/chpass: \
#		Operation not supported

