@Sebastian-Roth The reason I know it’s not being used is because the changes I made are not happening during a full registration and the script “echo’s” are not there. Here is the patch.fullreg
currfile="/bin/fog.man.reg"
newfile="${postinitpath}fog.man.reg.fix"
. /usr/share/fog/lib/funcs.sh
echo "Testing path for our fixed file at ${postinitpath}fog.man.reg.fix"
debugPause
# Test path and run copy if found and matched.
if [[ -r $newfile ]]; then
echo "Found file preparing to copy"
debugPause
cp -f $newfile $currfile >/dev/null 2>&1
[[ ! $? -eq 0 ]] && echo "Copy Failed" || echo "Copy Succeeded"
debugPause
else
echo "Failed to find file sorry"
debugPause
fi
This was borrowed from Tom Elliot’s post. I tried the very simple one first and that didn’t work, so I tried this one next and the same issue.