diff options
-rwxr-xr-x | mirrorring-bare-minimum.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mirrorring-bare-minimum.sh b/mirrorring-bare-minimum.sh new file mode 100755 index 0000000..6a7adaa --- /dev/null +++ b/mirrorring-bare-minimum.sh @@ -0,0 +1,6 @@ +#!/bin/bash -x + +cat $(ls -tr /tmp/build-openwrt-dev.sh_* | tail -n1) \ +| sed -ne 's#[^=]\+=> Downloading http://downloads.openwrt.org/\(.*\)\.$#wget http://downloads.openwrt.org/\1 -O /var/www/openwrt/\1#p' \ +| cat +# | bash |