Accepting request 40947 from Linux-PAM
checked in (request 40947) OBS-URL: https://build.opensuse.org/request/show/40947 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=14
This commit is contained in:
parent
a66203620a
commit
8bb872dac5
@ -3,17 +3,17 @@
|
|||||||
CMD="${0##*/}"
|
CMD="${0##*/}"
|
||||||
|
|
||||||
if [[ "$CMD" =~ "umount" ]]; then
|
if [[ "$CMD" =~ "umount" ]]; then
|
||||||
if [ ! -x /usr/sbin/umount.crypt ]; then
|
if [ ! -x ../usr/sbin/umount.crypt ]; then
|
||||||
logger -t "mount.crypt" -p user.err -i "/usr/sbin/umount.crypt: File not found."
|
logger -t "mount.crypt" -p user.err -i "/usr/sbin/umount.crypt: File not found."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
/usr/sbin/umount.crypt "$@"
|
../usr/sbin/umount.crypt $@
|
||||||
elif [[ "$CMD" =~ "mount" ]]; then
|
elif [[ "$CMD" =~ "mount" ]]; then
|
||||||
if [ ! -x /usr/sbin/mount.crypt ]; then
|
if [ ! -x ../usr/sbin/mount.crypt ]; then
|
||||||
logger -t "mount.crypt" -p user.err -i "/usr/sbin/mount.crypt: File not found."
|
logger -t "mount.crypt" -p user.err -i "/usr/sbin/mount.crypt: File not found."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
/usr/sbin/mount.crypt "$@"
|
../usr/sbin/mount.crypt $@
|
||||||
else
|
else
|
||||||
logger -t "mount.crypt" -p user.err -i "Unknown command: $0"
|
logger -t "mount.crypt" -p user.err -i "Unknown command: $0"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -3,17 +3,17 @@
|
|||||||
CMD="${0##*/}"
|
CMD="${0##*/}"
|
||||||
|
|
||||||
if [[ "$CMD" =~ "umount" ]]; then
|
if [[ "$CMD" =~ "umount" ]]; then
|
||||||
if [ ! -x /usr/sbin/umount.encfs13 ]; then
|
if [ ! -x ../usr/sbin/umount.encfs13 ]; then
|
||||||
logger -t "mount.encfs13" -p user.err -i "/usr/sbin/umount.encfs13: File not found."
|
logger -t "mount.encfs13" -p user.err -i "/usr/sbin/umount.encfs13: File not found."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
/usr/sbin/umount.encfs13 "$@"
|
../usr/sbin/umount.encfs13 $@
|
||||||
elif [[ "$CMD" =~ "mount" ]]; then
|
elif [[ "$CMD" =~ "mount" ]]; then
|
||||||
if [ ! -x /usr/sbin/mount.encfs13 ]; then
|
if [ ! -x ../usr/sbin/mount.encfs13 ]; then
|
||||||
logger -t "mount.encfs13" -p user.err -i "/usr/sbin/mount.encfs13: File not found."
|
logger -t "mount.encfs13" -p user.err -i "/usr/sbin/mount.encfs13: File not found."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
/usr/sbin/mount.encfs13 "$@"
|
../usr/sbin/mount.encfs13 $@
|
||||||
else
|
else
|
||||||
logger -t "mount.encfs13" -p user.err -i "Unknown command: $0"
|
logger -t "mount.encfs13" -p user.err -i "Unknown command: $0"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jun 1 13:42:01 CEST 2010 - mc@suse.de
|
|
||||||
|
|
||||||
- use full paths in wrapper scripts (bnc#607200)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 7 23:43:17 UTC 2010 - jengelh@medozas.de
|
Wed Apr 7 23:43:17 UTC 2010 - jengelh@medozas.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user