3 # First we kill Modest to make sure that, when we remove
4 # all the data, modest won't write again
5 PIDS=`pidof modest` && kill -15 $PIDS
7 # Removing modest user data folder
8 rm -rf /home/user/.modest
10 # Restore the security modules settings
11 if [ -f "/usr/bin/nsscfg" ] ; then
12 nsscfg -c /home/user/.modest/cache -m "Maemosec certificates" -l /usr/lib/libmaemosec_certman.so.0