Permalink
Browse files

* minor spelling improvements

git-svn-id: file:///var/svn/freetz/trunk@11292 149334a1-2f27-0410-a3b9-fc62619ac1e6
  • Loading branch information...
1 parent aa6d0b8 commit f1ef2c9ac8b560370a47cb68637f3d941efc8ad1 er13 committed Nov 22, 2013
Showing with 6 additions and 6 deletions.
  1. +1 −1 fwmod
  2. +1 −1 make/iptables/Config.in
  3. +3 −3 tools/external
  4. +1 −1 tools/scriptpatcher.sh
View
2 fwmod
@@ -736,7 +736,7 @@ if [ "$DO_MOD" -gt 0 ]; then
# Determine $MODULES_DIR in AVM image, eg: "${FILESYSTEM_MOD_DIR}/lib/modules/2.6.19.2
MODULES_DIR="$(find ${FILESYSTEM_MOD_DIR}/lib/modules/2.6.* -maxdepth 0 -type d)"
- [ ! -d "$MODULES_DIR" ] && error 1 "Can not find modules dir."
+ [ ! -d "$MODULES_DIR" ] && error 1 "Cannot find modules dir."
# Apply (general, version specific, language specific) patches
shopt -s nullglob
View
2 make/iptables/Config.in
@@ -418,7 +418,7 @@ config FREETZ_MODULE_iptable_nat
select FREETZ_MODULE_nf_nat if FREETZ_KERNEL_VERSION_2_6_28
default n
help
- Can not be load with AVM-kernel 2.6.19, see http://freetz.org/ticket/1929
+ Cannot be loaded when using AVM-kernel 2.6.19, see http://freetz.org/ticket/1929
config FREETZ_MODULE_iptable_raw
bool "iptable_raw.ko"
View
6 tools/external
@@ -18,12 +18,12 @@ if [ "$EXTERNAL_DOWNLOADER" == "y" ]; then
else
echo1 "creating directory \"$(pwd)/$OUT_DIR\" for outsourced files"
mkdir $OUT_DIR
- [ $? -ne 0 ] && error 1 "$MESSAGE Directory \"$OUT_DIR\" can not be created"
+ [ $? -ne 0 ] && error 1 "$MESSAGE Directory \"$OUT_DIR\" cannot be created"
fi
if [ -e "$OUT_DIR/$OUT_CONF" ]; then
echo1 "removing old Downloader configuration file $OUT_DIR/$OUT_CONF"
rm "$OUT_DIR/$OUT_CONF"
- [ $? -ne 0 ] && error 1 "$MESSAGE $OUT_DIR/$OUT_CONF can not be deleted"
+ [ $? -ne 0 ] && error 1 "$MESSAGE $OUT_DIR/$OUT_CONF cannot be deleted"
fi
echo1 "creating new Downloader configuration file $OUT_DIR/$OUT_CONF"
touch "$OUT_DIR/$OUT_CONF"
@@ -97,7 +97,7 @@ for EXTERNAL_FILE in $EXTERNAL_FILES; do
FILEPERM=$(ls -l $EXTERNAL_TEMP | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf("%0o",k)}')
echo2 "packing $FILENAME.gz for Downloader"
gzip -c "$EXTERNAL_TEMP" > "$OUT_DIR/$FILENAME.gz"
- [ $? -ne 0 ] && error 1 "$MESSAGE $OUT_DIR/$FILENAME.gz can not be created"
+ [ $? -ne 0 ] && error 1 "$MESSAGE $OUT_DIR/$FILENAME.gz cannot be created"
fi
#move file
if [ `ls "$EXTERNAL_TEMP" 2>/dev/null | wc -l` -gt 0 ]; then
View
2 tools/scriptpatcher.sh
@@ -42,7 +42,7 @@ write_to_file() # write to new file
check_args() # check arguments
{
- [ -r "$1" ] || return 22 # file can not be read
+ [ -r "$1" ] || return 22 # file cannot be read
[ $# -lt 3 ] && return 23 # not enough arguments
[ -z "$1" ] && return 24 # filename not defined
[ -z "$2" ] && return 25 # sectionname not defined

0 comments on commit f1ef2c9

Please sign in to comment.