#!/bin/sh set -e case "$1" in configure) # /usr/src/cmd/svc/milestone/fs-minimal was not creating # this directory with proper permissions before 2.10+1. # This fixes it without reboot: if [ -d /var/run/lock ]; then chmod 1777 /var/run/lock fi ;; esac