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