LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File mount.encfs13 of Package pam_mount.3055 (Project DISCONTINUED:openSUSE:11.3:Update)

#!/bin/bash

CMD="${0##*/}"

if [[ "$CMD" =~ "umount" ]]; then
    if [ ! -x /usr/sbin/umount.encfs13 ]; then
        logger -t "mount.encfs13" -p user.err -i "/usr/sbin/umount.encfs13: File not found."
        exit 1
    fi
    /usr/sbin/umount.encfs13 "$@"
elif [[ "$CMD" =~ "mount" ]]; then
    if [ ! -x /usr/sbin/mount.encfs13 ]; then
        logger -t "mount.encfs13" -p user.err -i "/usr/sbin/mount.encfs13: File not found."
        exit 1
    fi
    /usr/sbin/mount.encfs13 "$@"
else
    logger -t "mount.encfs13" -p user.err -i "Unknown command: $0"
    exit 1
fi