Updated changelog with some info about 0.9.11

master
bbruns 2010-11-18 20:07:44 +00:00
parent a82ffd76a5
commit 705e7323a8
2 changed files with 15 additions and 8 deletions

View File

@ -2,6 +2,8 @@
- Move some of the config clutter to conf/ - you can - Move some of the config clutter to conf/ - you can
put your config files anywhere, but by default, they're put your config files anywhere, but by default, they're
now going to be in conf/ now going to be in conf/
- Beginning work on configuration tool. If it ever
gets completed is a whole different story. :)
0.9.10 - Brielle Bruns <bruns@2mbit.com> 0.9.10 - Brielle Bruns <bruns@2mbit.com>
- Move clamp mss up earlier in the rules to possibly - Move clamp mss up earlier in the rules to possibly

View File

@ -47,10 +47,10 @@ if ! ( $WHIPTAIL --title "${TOOL_TITLE}" --yesno "${WELCOME_BODY}" 12 70 --no-bu
exit 1 exit 1
fi fi
if [ -w $TMPCONFIG ]; then if [ -w "$TMPCONFIG" ]; then
echo "# Automatically generated config file, please check before actually using." >"${TMPCONFIG}" echo "# Automatically generated config file, please check before actually using." >"${TMPCONFIG}"
else else
echo "Error: could not write tmp file for config generation!" echo "Error: could not write tmp file for config generation."
exit 1 exit 1
fi fi
@ -60,18 +60,23 @@ if ( $WHIPTAIL --title "${TOOL_TITLE}" --yesno "${AUTOCONFIG_PATHS}" 10 40 ); th
IFS_OLD=${IFS};IFS=: IFS_OLD=${IFS};IFS=:
BIN_PATH=($i) BIN_PATH=($i)
IFS=${IFS_OLD} IFS=${IFS_OLD}
if ( ${WHICH} ${BIN_PATH[0]}&>/dev/null ); then if ( ${WHICH} ${BIN_PATH[0]} &>/dev/null ); then
BIN_FULL="`${WHICH} ${BIN_PATH[0]}`" BIN_FULL="`${WHICH} ${BIN_PATH[0]}`"
echo "${BIN_PATH[1]}=\"${BIN_FULL}\"" >>"${TMPCONFIG}" echo "${BIN_PATH[1]}=\"${BIN_FULL}\"" >>"${TMPCONFIG}"
else else
FAILED_CMD_PATH="${FAILED_CMD_PATH} ${BIN_PATH[0]" FAILED_CMD_PATH="${FAILED_CMD_PATH} ${BIN_PATH[0]}"
echo "\#${BIN_PATH[1]}=\"\"" >>"${TMPCONFIG}" echo "#${BIN_PATH[1]}=\"\"" >>"${TMPCONFIG}"
fi fi
done done
if [ "$FAILED_CMD_PATH" ]; then if [ "$FAILED_CMD_PATH" ]; then
$WHIPTAIL --title "${TOOL_TITLE}" --msgbox "${FAILED_BINS}\n${FAILED_CMD_PATH}\n${FAILED_BINS_FOOT}" 10 60 $WHIPTAIL --title "${TOOL_TITLE}" --msgbox "${FAILED_BINS}\n${FAILED_CMD_PATH}\n${FAILED_BINS_FOOT}" 10 60
fi fi
# else
#else for i in $AUTOCONFIG_BIN; do
IFS_OLD=${IFS};IFS=:
BIN_PATH=($i)
IFS=${IFS_OLD}
echo "#${BIN_PATH[1]}=\"\"" >>"${TMPCONFIG}"
fi fi