add some exclude file for support system p

This commit is contained in:
huweihua 2014-09-01 04:00:47 -04:00
parent 18a3c26864
commit 027d4ff52a

View File

@ -13,7 +13,27 @@ fi
#update the exclude configuration file
#do not sync the following files
for filename in /etc/fstab /boot/grub /etc/grub.conf /boot/efi /etc/elilo.conf /xcatpost /etc/xcat /etc/hosts /etc/udev/rules.d /etc/modprobe.d/bond0.conf /etc/modprobe.d/bond1.conf /etc/ssh /etc/sysconfig/syslog /etc/syslog-ng/syslog-ng.conf /opt/xcat /root/.ssh /var/cache /var/lib
for filename in \
/boot/efi \
/boot/grub \
/etc/fstab \
/etc/grub.conf \
/etc/lilo.conf \
/etc/elilo.conf \
/etc/xcat \
/etc/yaboot.conf \
/etc/hosts \
/etc/udev/rules.d \
/etc/modprobe.d/bond0.conf \
/etc/modprobe.d/bond1.conf \
/etc/ssh \
/etc/sysconfig/syslog \
/etc/syslog-ng/syslog-ng.conf \
/opt/xcat \
/root/.ssh \
/var/cache \
/var/lib \
/xcatpost
do
if [ ! -e $filename ];then
continue