usbmount/umount.d/00_remove_model_symlink
author ft
Thu, 27 Feb 2014 17:12:59 +0100
changeset 0 60bc07f3f415
child 2 ee0797f46473
permissions -rwxr-xr-x
initial commit
     1 #!/bin/sh
     2 # This script removes the model name symlink in /var/run/usbmount.
     3 # Copyright (C) 2005 Martin Dickopp
     4 #
     5 # This file is free software; the copyright holder gives unlimited
     6 # permission to copy and/or distribute it, with or without
     7 # modifications, as long as this notice is preserved.
     8 #
     9 # This file is distributed in the hope that it will be useful,
    10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    12 # PARTICULAR PURPOSE.
    13 #
    14 set -e
    15 
    16 umount "/var/run/usbmount/"*
    17 rmdir "/var/run/usbmount/"*
    18 
    19 exit 0