19 lines
204 B
Plaintext
19 lines
204 B
Plaintext
|
#!/bin/bash
|
||
|
set -x
|
||
|
#
|
||
|
CFG=`rpm -qa |grep -i ^casa-[1-9]`
|
||
|
if [ "$CFG" != "" ]
|
||
|
then
|
||
|
PAM=`find /etc/pam.d -exec grep -i casa \{\} \;`
|
||
|
if [ "$PAM" != "" ]
|
||
|
then
|
||
|
exit 0
|
||
|
else
|
||
|
exit 1
|
||
|
fi
|
||
|
else
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
|