[K12OSN] auto-configuring mozilla for proxy

Matt Johnson (johnsonmlw@yahoo.com)
Wed, 13 Mar 2002 04:17:44 -0800 (PST)


This is a newbie, rough, poorly written script that I
came up with to automatically configure mozilla to use
a proxy for every user.

I post it for two reasons...

1. To provide a possible solution for an unsolved faq

2. To have folks help me improve it, as I'm new to
this sort of stuff.

It seems to work for me, where I have set up a user
called 'template', and set up 'template's' proxy
manually...

#! /bin/bash

file=~/.mozilla

if [[ -e $file ]]
then
  mozilla &
else
  mozilla &
  sleep 7
  killall mozilla-bin
  find ~/.mozilla -name prefs.js -exec cp -f
/home/template/.mozilla/default/change_this_folder/prefs.js
'{}' ';'
  mozilla &
fi


Answers on a postcard please

--
Matt


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/



_______________________________________________
K12OSN mailing list
K12OSN@redhat.com
https://listman.redhat.com/mailman/listinfo/k12osn
For more info see