Title / Description
Code check_exist=`grep -c DisallowTCP /etc/gdm/custom.conf` if [ $check_exist -eq 0 ] then sed -i '/\[security]/ a\DisallowTCP=false' /etc/gdm/custom.conf; sleep 2; else echo "Already Deny TCP Connection to Xserver" fi
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code