diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-29 19:45:19 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-29 19:45:19 +0100 |
commit | b3a54c520195f3cab1109cb90de8179e4dff433f (patch) | |
tree | 6728c4cdb14fd18a6b7c040c7d395a2d5603fc74 /package/base-files/extra/sbin | |
parent | 81b38e16646cc758202b51b5174da63e2e09646a (diff) |
add bridging firewall stuff
- tested with a transparent squid proxy
- fix some minor other stuff
- not completely ready
Diffstat (limited to 'package/base-files/extra/sbin')
-rwxr-xr-x | package/base-files/extra/sbin/update | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/package/base-files/extra/sbin/update b/package/base-files/extra/sbin/update index 83807ccf5..10d6e58c2 100755 --- a/package/base-files/extra/sbin/update +++ b/package/base-files/extra/sbin/update @@ -18,17 +18,17 @@ check_exit() { } extract_from_file() { - cat $1 | gunzip -c | tar -xvf - + cat $1 | gunzip -c | tar -xf - check_exit } extract_from_ssh() { - ssh $1 "cat $2" | gunzip -c | tar -xvf - + ssh $1 "cat $2" | gunzip -c | tar -xf - check_exit } extract_from_http() { - wget -O - $1 | gunzip -c | tar -xvf - + wget -O - $1 | gunzip -c | tar -xf - check_exit } @@ -61,5 +61,4 @@ esac sync mount -o bind /etc /tmp/.cfgfs/root -echo "Check with cfgfs status if you need to merge and save any changes in /etc." -echo "You should reboot now." +echo "Update sucessful. You should reboot now." |