Update of /cvsroot/devil-linux/build/scripts/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13206/scripts/scripts
Modified Files:
pre_init save-config
Log Message:
- DL now works fine again on 32 MB systems
- unpacking of /var now uses less memory during uncompression
- save-config now uses less memory during compression
- removed squidguard blacklist
(has to be freshly downloaded anyway)
- removed clamav virus signatures
(has to be freshly downloaded anyway)
- added perl GD library v2.16
- updated gcc to v3.3.4
- updated util-linux to v2.12b
- updated tar to v1.14
- updated shadow to v4.0.4.1
- updated readline to v5.0
- updated perl to v5.8.5
- updated patch-o-matic-ng to v20040823
- updated openldap to v2.2.15
- updated ncurses to v5.4
- updated linux to v2.6.8.1
- updated iproute2 to v2.6.9-ss040831
- updated binutils to v2.15.91.0.2
- updated bash to v3.0
- updated Python to v2.3.4
Index: pre_init
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/scripts/pre_init,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- pre_init 22 Aug 2004 13:40:34 -0000 1.20
+++ pre_init 6 Sep 2004 20:31:33 -0000 1.21
@@ -69,7 +69,7 @@
# unpack /var to the shmfs
echo "Unpacking /var"
-tar -C /shm/ -xjf /config/var.tar.bz2
+bunzip2 -s -c /config/var.tar.bz2 | tar -C /shm/ -x
if [ -d /config/etc_files ]; then
if ! cmp -s /shm/etc/Devil-release /config/etc_files/Devil-release
Index: save-config
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/scripts/save-config,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- save-config 22 May 2004 22:29:33 -0000 1.29
+++ save-config 6 Sep 2004 20:31:34 -0000 1.30
@@ -208,7 +208,7 @@
echo "Saving current configuration"
$NORMAL
-tar -C /shm -cjf $CONFIG_MOUNT/$DL_CONFIG_FILE \
+tar -C /shm -c \
--exclude=*~ \
--exclude=mtab \
--exclude=*.2.old \
@@ -220,7 +220,7 @@
--exclude=*.8.old \
--exclude=*.9.old \
--exclude=dhcpcd-eth*.pid \
- etc root
+ etc root -f - | bzip2 -s -c > $CONFIG_MOUNT/$DL_CONFIG_FILE
error=$?
|