thelonelycoder
Part of the Furniture
I read your original post and made a note in my file to look into it.Seems there is no interest in implement this...
If anyone is interested in using this unsupported "feature", here are the steps
- Make a copy of the blacklist file (/opt/share/diversion/list/blacklist)
- Manually add domains you intend to block to copy of the blacklist
- Edit the file /opt/share/diversion/file/alternate-bf.div
- Locate the line containing: echo "addn-hosts=${DIVERSION_DIR}/list/blacklist"
- Change the file name from blacklist to the name you chose on 2nd step
- Save
- Edit the file /opt/share/diversion/file/post-conf.div
- Locate the line containing: pc_append "addn-hosts=${DIVERSION_DIR}/list/blacklist" $CONFIG
- 4.2 - Change the file name from blacklist to the name you chose on 2nd step
- 4.3 - Save
- Open diversion
- If alternate blocking list is enable then disable it
- Enable alternate blocking list
Notes:
- Any new domains have to manually added to the copy of the blacklist
- Every time you upgrade diversion you need to make those changes (well, even the changes you need may change)
- If you break diversion files uninstall and reinstall it