2 for src in /etc/conf.d/kfs.default /etc/kfs.conf.default /etc/kfswebui.conf.default; do
3 dest=$( echo $src | sed 's|\.default||' )
5 diff $src $dest > /dev/null 2>/dev/null
8 if [ $ret -ne 0 ]; then
9 echo ">>> Not updating $dest - it exists and is different than $src. Please check if it needs to be modified."
12 echo ">>> Copying $src to $dest"