sorry to notice so late, but naming of rc files is inconsistent.  in
openserctl we have:

### include resource files, if any
if [ -f /usr/local/etc/openser/openserctlrc ]; then
        . /usr/local/etc/openser/openserctlrc
fi
if [ -f ~/.openserctlrc ]; then
        . ~/.openserctlrc
fi

and in mysqldb.sh:

# include resource files, if any
if [ -f /etc/openser/.opensermysqlrc ]; then
        . /etc/openser/.opensermysqlrc
fi
if [ -f /usr/local/etc/openser/.opensermysqlrc ]; then
        . /usr/local/etc/openser/.opensermysqlrc
fi
if [ -f ~/.opensermysqlrc ]; then
        . ~/.opensermysqlrc
fi

openserctl should also search rc file from /etc/openser directory and
.opensermysqlrc should be without leading . char.

-- juha

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to