Last change
on this file was 2167cfe, checked in by William Harrington <kb0iic@…>, 11 years ago |
bootscripts are the scripts used for the sysvinit book.
|
-
Property mode
set to
100644
|
File size:
635 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | ########################################################################
|
---|
3 | # Begin $rc_base/init.d/devmapper
|
---|
4 | #
|
---|
5 | # Description : Creates device mapper nodes that may have been created in an
|
---|
6 | # early userspace.
|
---|
7 | #
|
---|
8 | # Authors : Joe Ciccone <jciccone@gmail.com>
|
---|
9 | #
|
---|
10 | # Version : 00.01
|
---|
11 | #
|
---|
12 | # Notes :
|
---|
13 | #
|
---|
14 | ########################################################################
|
---|
15 |
|
---|
16 | . /etc/sysconfig/rc
|
---|
17 | . ${rc_functions}
|
---|
18 |
|
---|
19 | case "${1}" in
|
---|
20 | start)
|
---|
21 | boot_mesg "Running dmsetup mknodes..."
|
---|
22 | /sbin/dmsetup mknodes
|
---|
23 | evaluate_retval
|
---|
24 | ;;
|
---|
25 | *)
|
---|
26 | echo "Usage: ${0} {start}"
|
---|
27 | exit 1
|
---|
28 | ;;
|
---|
29 | esac
|
---|
30 |
|
---|
31 | # End $rc_base/init.d/devmapper
|
---|
Note:
See
TracBrowser
for help on using the repository browser.