I added the following script (named use-opendns) which basically copies current DNS used to a backup file and then override it with another file already containing OpenDNS resolver. #! /bin/bash cp -f /etc/resolv.conf /etc/resolv.assigned.conf cp -f /etc/opendns.resolv.conf /etc/resolv.conf I put this in local bin and add a launcher to the panel as Application in Terminal [...]
Launcher for java GUI in local bin (named ovo-java-gui). #! /bin/bash export JAVA_DIR=/usr/ /opt/OV/www/htdocs/ito_op/ito_op exit 0
By adding script to /usr/local/bin, it will become reachable. What reachable means is that it’ll be part of the default PATH echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games It supposed to be in executable permission (chmod +rx).
© logIt. Powered by WordPress using the DePo Skinny Tweaked Theme.