X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=backup.sh;h=e8b7afe7a2d949afff35ae153931eae18b77277c;hb=04f172eec17381b7f0236fc540e7542cd6ba8e92;hp=cbed041a8047980d3f68db156047e3c3bc0004fa;hpb=856aed4ee23291972e9595a5f131feb9d4be1b3f;p=scripts%2Fscripts.git diff --git a/backup.sh b/backup.sh index cbed041..e8b7afe 100755 --- a/backup.sh +++ b/backup.sh @@ -94,7 +94,7 @@ done for i in dhcpd.conf fstab hosts host.conf hosts.allow hosts.deny lilo.conf \ profile sendmail.cf resolv.conf exports fb.modes inetd.conf \ - xinetd.conf mp3user mp3db.conf; do + xinetd.conf mp3user mp3db.conf modules.conf; do if [ -f /etc/$i ] ; then echo "copying /etc/$i" cp /etc/$i ./etc @@ -154,7 +154,7 @@ if [ "$host" = "right-hand" ] ; then fi # hackstation / mobile / hdw / sparc specific data -if [ "$host" = "hackstation" -o "$host" = "mobile" -o "$host" = "hdw" -o "$host" = "sparc" -o "$host" = "left-hand" ] ; then +if [ "$host" = "hackstation" -o "$host" = "mobile" -o "$host" = "hdw" -o "$host" = "sparc" -o "$host" = "compaq" ] ; then # home of hackbard mkdir -p ./home/hackbard @@ -168,7 +168,7 @@ if [ "$host" = "hackstation" -o "$host" = "mobile" -o "$host" = "hdw" -o "$host" cp -r /home/hackbard/projects ./home/hackbard fi for i in xinitrc_evil xinitrc_wm .xinitrc GNUstep .Xauthority \ - .Xdefaults .signature .directfbrc; do + .Xdefaults .signature .directfbrc .bashrc; do [ -f /home/hackbard/$i ] && \ cp -r /home/hackbard/$i ./home/hackbard done