#!/bin/sh case "$1" in start) /mod/sbin/scanmounts & ;; stop) killall scanmounts || exit 1 ;; *) exit 1 ;; esac