tazusb rev 178
tazusb writefs: save /opt too
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 14 09:05:37 2015 +0200 (2015-05-14) |
parents | 4cad54fd7a35 |
children | 7cdf12d25925 |
files | tazusb |
line diff
1.1 --- a/tazusb Mon Apr 06 19:38:04 2015 +0000 1.2 +++ b/tazusb Thu May 14 09:05:37 2015 +0200 1.3 @@ -478,7 +478,7 @@ 1.4 # echo /dev/$dev >>/tmp/list 1.5 # done 1.6 1.7 - find /bin /etc /init /sbin /var /dev /lib /root /usr >/tmp/list 1.8 + find /bin /etc /init /sbin /var /dev /lib /root /usr /opt >/tmp/list 1.9 1.10 for dir in /home /proc /run /sys /tmp /mnt /media /media/cdrom /media/flash /media/usbdisk 1.11 do 1.12 @@ -486,7 +486,7 @@ 1.13 done 1.14 sed -i '/^\/var\/run\/.*pid$/d' /tmp/list 1.15 1.16 - for removelog in auth boot messages dmesg daemon utmp slim; do 1.17 + for removelog in auth boot messages dmesg daemon utmp slim Xorg ; do 1.18 sed -i "\/var\/log\/$removelog/d" /tmp/list 1.19 done 1.20