source: bootscripts-standard/cblfs/init.d/devmapper@ 7254832

Last change on this file since 7254832 was 7df280d, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Change /bin/sh to /bin/bash in the bootscripts because the bootscripts use bashisms. Having ash linked to sh will cause errors. Thanks to Bigdassaved for providing the diff and Copper for bring up the issue.

  • 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
19case "${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 ;;
29esac
30
31# End $rc_base/init.d/devmapper
Note: See TracBrowser for help on using the repository browser.