#!/bin/sh . /etc/control.d/functions BINARY=/sbin/mount.cifs [ -f "$BINARY" -a ! -L "$BINARY" ] || BINARY=/usr/bin/cifsmount new_fmode public 4711 root root new_fmode wheelonly 4710 root wheel new_fmode restricted 700 root root new_help public "Any user can execute $BINARY" new_help wheelonly "Only \"wheel\" group members can execute $BINARY" new_help restricted "Only root can execute $BINARY" new_summary 'CIFS filesystem mount helper' control_fmode "$BINARY" "$*" || exit 1