#!/bin/sh
exec 2>&1
[ -r ./conf ] && . ./conf
mkdir -p /run/samba
mkdir -p /run/lock/samba
exec smbd -F ${OPTS:--S -d1}