diff -r 000000000000 -r 60bc07f3f415 usbmount/umount.d/00_remove_model_symlink --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usbmount/umount.d/00_remove_model_symlink Thu Feb 27 17:12:59 2014 +0100 @@ -0,0 +1,19 @@ +#!/bin/sh +# This script removes the model name symlink in /var/run/usbmount. +# Copyright (C) 2005 Martin Dickopp +# +# This file is free software; the copyright holder gives unlimited +# permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. +# +set -e + +umount "/var/run/usbmount/"* +rmdir "/var/run/usbmount/"* + +exit 0