root/morphix/trunk/cloop/debian/cloop-module.postinst

Revision 2, 313 bytes (checked in by nextime, 2 years ago)

Initial import, branching from morphix svn

Line 
1 #!/bin/sh -e
2 # source debconf library
3 #export DEBCONF_DEBUG=developer
4 . /usr/share/debconf/confmodule
5
6 if [ "$1" = "configure" ] ; then
7    db_get cloop/createdevs || true
8    if [ "$RET" = "true" ] ; then
9       if test ! -e /dev/cloop; then
10          mknod /dev/cloop b 240 0 || true
11       fi
12    fi
13 fi
14
15 #DEBHELPER#
16
Note: See TracBrowser for help on using the browser.