Community SSU/Features/ke-recv: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>merlin1991
New page: == Mount Blacklist == Whenever ke-recv mounts a device /etc/default/osso-mmc-blacklist.sh is called first, if the script calls exit itself the mount attempt is aborted. Below is a sample ...
 
imported>merlin1991
New page: == Mount Blacklist == Whenever ke-recv mounts a device /etc/default/osso-mmc-blacklist.sh is called first, if the script calls exit itself the mount attempt is aborted. Below is a sample ...
 
(No difference)

Latest revision as of 10:13, 27 August 2012

Mount Blacklist

Whenever ke-recv mounts a device /etc/default/osso-mmc-blacklist.sh is called first, if the script calls exit itself the mount attempt is aborted.

Below is a sample script that can be used to blacklist mountpoints:

#!/bin/sh

BLACKLIST=/etc/default/osso-mmc-blacklist

grep "$PDEV" ${BLACKLIST} > /dev/null
if [ $? = 0 ]; then
  exit 0
fi