+if [ -z "$POLICYRCD" ]; then
+ for file in /usr/local/sbin/policy-rc.d /etc/policy-rc.d; do
+ if [ -x "$file" ]; then
+ POLICYRCD="$file"
+ break
+ fi
+ done
+fi
+
+# if $POLICYRCD is set or either /usr/local/sbin/policy-rc.d
+# or /etc/policy-rc.d are present execute them:
+if [ -n "$POLICYRCD" ]; then
+ $POLICYRCD "$@"
+ exit $?