summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-04 22:13:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-04 22:13:19 +0000
commit7a79c4f037997aa07599e9f0fad7e3a00e58e1ef (patch)
tree33043f8ec772a5e4a6ee79c3a15e0fc95aee3bd4 /usr
parent126ed1ff04bb68d2ce04f1ff11ac254a5c6d831d (diff)
downloadpfsense-7a79c4f037997aa07599e9f0fad7e3a00e58e1ef.zip
pfsense-7a79c4f037997aa07599e9f0fad7e3a00e58e1ef.tar.gz
Recompile for FreeBSD 6
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/sbin/kbdcheckbin4964 -> 3368 bytes
-rwxr-xr-xusr/local/sbin/ppp-linkup3
-rwxr-xr-xusr/local/sbin/update_file.sh17
3 files changed, 5 insertions, 15 deletions
diff --git a/usr/local/sbin/kbdcheck b/usr/local/sbin/kbdcheck
index d2f204d..500fc1c 100755
--- a/usr/local/sbin/kbdcheck
+++ b/usr/local/sbin/kbdcheck
Binary files differ
diff --git a/usr/local/sbin/ppp-linkup b/usr/local/sbin/ppp-linkup
index 8e86894..01bca8e 100755
--- a/usr/local/sbin/ppp-linkup
+++ b/usr/local/sbin/ppp-linkup
@@ -18,5 +18,4 @@ fi
# let the configuration system know that the
# WAN IP address has changed
-/etc/rc.newwanip &
-
+/etc/rc.newwanip
diff --git a/usr/local/sbin/update_file.sh b/usr/local/sbin/update_file.sh
index d8a5e8f..5e1e51d 100755
--- a/usr/local/sbin/update_file.sh
+++ b/usr/local/sbin/update_file.sh
@@ -17,8 +17,6 @@ if [ -z $1 ];then
exit 0
fi
-/etc/rc.conf_mount_rw
-
if [ "$1" = "-all" ];then
echo "This will update all .php .js and .inc pages on your pfsense box!"
FMATCHES=`find /etc/inc/ /usr/local/www /usr/local/captiveportal -name "*.php" -or -name "*.inc" -or -name "*.js"`
@@ -29,24 +27,17 @@ else
FMATCHES=$1
fi
-for file in $FMATCHES ;do
+/etc/rc.conf_mount_rw
+for file in $FMATCHES ;do
if [ ! -z $2 ];then
rev=$2
echo "trying to fetch $rev $file"
else
echo "trying to fetch latest $file"
fi
-
- /usr/bin/fetch -T 60 -q -o "$file" "$baseurl$file$urlrev$rev$urlcon;only_with_tag=RELENG_1"
-
- if [ $? -eq 0 ]; then
- echo "File updated."
- else
- echo "An error occured during update."
- fi
-
+ #echo fetch -o "$file" "$baseurl$file$urlrev$rev$urlcon"
+ `which fetch` -o "$file" "$baseurl$file$urlrev$rev$urlcon"
done
/etc/rc.conf_mount_ro
-
OpenPOWER on IntegriCloud