Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37837914
en ru br
ALT Linux repos
S:1.2-alt2
5.0: 1.2-alt2
4.1: 1.2-alt1.M41.1
4.0: 1.2-alt1.M40.1
3.0: 1.1-alt1

Group :: System/Servers
RPM: samba-client-control

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#!/bin/sh

. /etc/control.d/functions

BINARY=/sbin/umount.cifs

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 umount helper'

control_fmode "$BINARY" "$*" || exit 1
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin