OpenATV
/etc/init.d/softcam.oscam
(or some similar)
PurE2
/usr/script/cam/oscam*.sh
(or some similar)
Find and change all the "-c /path_to_directory" and "--config-dir /path_to_directory" arguments in the script. If this argument does not exist, add or change it only if you want to specify a oscam config-directory in both Enigma distributions.
With the following method with symbolic links, you must remove the "-c /path_to_directory" and "--config-dir /path_to_directory" arguments from both scripts (OpenATV + PurE2) or edit them to a common directory in both flash disks (filesystem in OpenATV image as well as in PurE2), for example to the same directory "-c /etc/tuxbox/config/oscam":
Choose the directory where both Enigma distributions can access - for example "/hdd/oscam-cfg/" or "/media/hdd/oscam-cfg/" (I don't know PurE2 but the symbolic link "/hdd" to "should also work for "/media/hdd"). Of course, you have to create an empty directory there first.
Then you use the symbolic link of the directory, in both Enigma distributions the same, to the pre-created directory "/media/hdd/oscam-cfg" or "/media/usb/oscam-cfg":
ln -s /etc/tuxbox/config/oscam /media/hdd/oscam-cfg
...or if you want to use a USB device:
ln -s /etc/tuxbox/config/oscam /media/usb/oscam-cfg
When creating these symbolic links, in both Enigma, the "/media/hdd/oscam-cfg" directory must be created before and the original directory must also be deleted:
rm -f /etc/tuxbox/config/oscam
In this method, when Oscam starts, it will search the directory with the configuration files in the default paths. Of course, for the "/etc/tuxbox/oscam/config" directory, there will be a redirect to "/media/hdd/oscam-cfg" directory and a configuration files will be found there.