"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib.core" between
shorewall-core-5.2.6.tar.bz2 and shorewall-core-5.2.6.1.tar.bz2

About: Shorewall (The Shoreline Firewall) is an iptables based firewall (required components for all versions). generated on a system with one of the compiler packages installed).

lib.core  (shorewall-core-5.2.6.tar.bz2):lib.core  (shorewall-core-5.2.6.1.tar.bz2)
skipping to change at line 340 skipping to change at line 340
# Set default config path # Set default config path
# #
ensure_config_path() { ensure_config_path() {
local F local F
F=${g_sharedir}/configpath F=${g_sharedir}/configpath
if [ -z "$CONFIG_PATH" ]; then if [ -z "$CONFIG_PATH" ]; then
[ -f $F ] || { echo " ERROR: $F does not exist"; exit 2; } [ -f $F ] || { echo " ERROR: $F does not exist"; exit 2; }
. $F . $F
fi fi
if [ -n "$g_shorewalldir" ]; then if [ -n "$g_shorewalldir" ] && [ "${CONFIG_PATH%%:*}" = "$g_shorewalldir" ];
[ "${CONFIG_PATH%%:*}" = "$g_shorewalldir" ] || CONFIG_PATH=$g_shorewalld then
ir:$CONFIG_PATH case $CONFIG_PATH in
:*)
CONFIG_PATH=${g_shorewalldir}${CONFIG_PATH}
;;
*)
CONFIG_PATH=$g_shorewalldir:$CONFIG_PATH
;;
esac
fi fi
} }
# #
# Get fully-qualified name of file # Get fully-qualified name of file
# #
resolve_file() # $1 = file name resolve_file() # $1 = file name
{ {
local pwd local pwd
pwd=$PWD pwd=$PWD
 End of changes. 1 change blocks. 
3 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)