#!/bin/sh

# The clock might be wrong and we know that we need to update the icon
# cache so we just force it.

gtk-update-icon-cache -f /usr/share/icons/hicolor

# Now we are ready to let the user move the entry around, but only if
# this is a new install

#maemo-select-menu-location wizard-mounter.desktop

#DEBHELPER#

### modify sudoers ###

SF="/etc/sudoers"

if [ -e $SF ]; then
	sed -e "s/user ALL = NOPASSWD: \/sbin\/modprobe//g" -i $SF
	sed -e "s/user ALL = NOPASSWD: \/bin\/mount//g" -i $SF
	sed -e "s/user ALL = NOPASSWD: \/bin\/umount//g" -i $SF 
	sed -e "s/user ALL = NOPASSWD: \/etc\/init.d\/portmap//g" -i $SF
	sed '/^$/d' -i $SF
fi

#exit 0
