unfortunately this is useless for access the proxy servers in shells
because .pac is java script file and wget,curl,links ... and others cannot execute this.
instead of this maybe you can write a...
you should copy the rc script to /etc/init.d and then add it as a service with the chkconfig command. there are plenty of examples out there or you can use the existing scripts in /etc/init.d as a...