Reply
Thread Tools
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#1
HI guys, i wanna show you how you can run the BlackList filter at the system startup using Pycallblocker.

If you install Pycallblocker and if you reboot or shutdown the system, you have to run again the application first to make the blacklist filter working.

Today i found a trick to run it at the sturtup without open the application all the times you reboot or shutdown the OS.

1)
open xterm, make sure to have rootsh installed and run
Code:
root
apt-get install leafpad pycallblocker
2)
copy this on the xterm window
Code:
leafpad /etc/init.d/blacklist
a blank leafpad window will appear, when done paste this code on leafpad
Code:
#!/bin/sh
sudo python /opt/pycallblocker/callblocker-daemon.py
then press CTRL + S and close it..
3)
now run
Code:
chmod +rwx /etc/init.d/blacklist
and press ok.
4)
copy this on the xterm window
Code:
leafpad /etc/event.d/blacklist
a blank leafpad window will appear again, paste the following code then
Code:
start on XSESSIONS_STARTING
stop on stopped xsession
start on started ke-recv
start on SyncAllFolders
start on started hildon-desktop
start on stopping dbus
start on stopping dbus-actdead
stop on stopped hal

console none

script

su user -c "run-standalone.sh /etc/init.d/blacklist"
end script
press CTRL + S to save, and then close the leafpad window.
5)
Now paste this on the xterm window, and you have done!
Code:
chmod +rwx /etc/event.d/blacklist
exit
exit
from now the blacklist will be loaded automatically at ever system startup/reboot

Sorry For My bad english

By the way if you dont wanna waste the time you have the thing ready down here.. use ssh to copy or a good file manager



if you use the zip file. don't forget to input this after the copy, in the xterm

Code:
root
chmod +rwx /etc/init.d/backlist
chmod +rwx /etc/event.d/blacklist
Attached Files
File Type: zip all-done.zip (592 Bytes, 82 views)

Last edited by santiago; 2011-05-20 at 23:30.
 

The Following 2 Users Say Thank You to santiago For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:38.