projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[package] base-files: set rules file for hotplug2 in the boot script (closes #5235)
[openwrt.git]
/
package
/
base-files
/
files
/
etc
/
hotplug.d
/
block
/
10-mount
1
#!/bin/sh
2
3
# Copyright (C) 2009 OpenWrt.org
4
5
blkdev
=
`dirname
$DEVPATH
`
6
if
[
`basename
$blkdev
`
!=
"block"
];
then
7
8
device
=
`basename
$DEVPATH
`
9
case
"
$ACTION
"
in
10
add
)
11
mkdir
-p
/
mnt
/
$device
12
mount
/
dev
/
$device
/
mnt
/
$device
13
;;
14
remove
)
15
umount
/
dev
/
$device
16
;;
17
esac
18
19
fi
This page took
0.051713 seconds
and
5
git commands to generate.