#!/bin/sh SOCKET=/usr/local/var/run/shepherd/socket mount -o remount,rw / rm $SOCKET mkdir /dev/shm chmod 1777 /dev/shm exec shepherd