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

View file

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

View file

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