done
mkdir ./etc
-for i in init.d conf opt ppp cups; do
+for i in init.d conf opt ppp cups udev cron.d; do
if [ -d /etc/$i ] ; then
echo "copying /etc/$i"
cp -r /etc/$i ./etc
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 modules.conf named.conf \
- modprobe.devfs modprobe.conf devfsd.conf ; do
+ modprobe.devfs modprobe.conf devfsd.conf crontab; do
if [ -f /etc/$i ] ; then
echo "copying /etc/$i"
cp /etc/$i ./etc
echo "copying /etc/X11/XF86Config*"
cp /etc/X11/XF86Config* ./etc/X11
fi
+if [ -f /etc/X11/xorg.conf ] ; then
+ mkdir -p ./etc/X11
+ echo "copying /etc/X11/xorg.conf*"
+ cp /etc/X11/xorg.conf* ./etc/X11
+fi
# specific config stuff
mkdir -p ./ircd
[ -f /etc/opt/unrealircd/unrealircd.conf ] && \
cp /etc/opt/unrealircd/unrealircd.conf ./ircd
+
+ # minimalist stuff
+ mkdir -p ./minimalist
+ [ -f /etc/opt/minimalist/minimalist.conf ] && \
+ cp /etc/opt/minimalist/minimalist.conf ./minimalist
fi
# right-hand specific config stuff
echo "copying dns data"
cp -r /var/named/* ./named
fi
+ if [ -f /etc/opt/apache*/httpd.conf ] ; then
+ mkdir ./apache
+ cp /etc/opt/apache*/httpd.conf ./apache
+ fi
fi
cp -r /home/hackbard/$i ./home/hackbard
done
for i in xinitrc_evil xinitrc_wm .xinitrc GNUstep .Xauthority \
- .Xdefaults .XHkeys .signature .directfbrc .bashrc ; do
+ .Xdefaults .XHkeys .signature .directfbrc .bashrc \
+ sp12 .licq .irssi; do
[ -e /home/hackbard/$i ] && \
cp -r /home/hackbard/$i ./home/hackbard
done