Deneme amaçlı log kalmıs. Silindi.

This commit is contained in:
cemrealpsoy 2016-06-20 11:57:40 +03:00
parent 489e53c37b
commit f5fc7eafc6
3 changed files with 5 additions and 7 deletions

10
debian/postinst vendored
View file

@ -10,9 +10,9 @@ case "$1" in
configure)
while true; do
read -p "If any 'pam' configuration exists, it will be gone.Do you want to continue?" yn
case $yn in
[Yy]* )
read -p "Eğer makinada var olan bir pam konfigurasyonu varsa geçersiz hale gelecektir.Devam etmek istiyor musunuz? [e/H]" eH
case $eH in
[e] )
if [ -d /etc/pam.d ]
then
if [ -f /etc/pam.d/common-session ]
@ -23,8 +23,8 @@ while true; do
fi
fi
break;;
[Nn]* ) exit;;
* ) echo "Please answer y(yes) or n(no).";;
[H] ) exit;;
* ) echo "Lütfen e ya da H karakterleri ile yanıtlayın!";;
esac
done

View file

@ -2,6 +2,5 @@
if [ -n $PAM_USER ]; then
if [ $PAM_USER != "root" ]; then
sudo python3 /opt/ahenk/ahenkd.py logout $PAM_USER
echo "gittim" >> /home/lider/cemre.log
fi
fi

View file

@ -2,6 +2,5 @@
if [ -n $PAM_USER ]; then
if [ $PAM_USER != "root" ]; then
sudo python3 /opt/ahenk/ahenkd.py login $PAM_USER
echo "geldim" >> /home/lider/cemre.log
fi
fi