Commit ae4b5a1c authored by Konstantin Baev's avatar Konstantin Baev

3.8.0-alt3

- add starting module after building (if module not exist)
parent 714c8f8e
......@@ -21,7 +21,7 @@
Name: etercifs
Version: 3.8.0
Release: alt0.M41.2
Release: alt3
Summary: Advanced Common Internet File System for Linux with Etersoft extension
......@@ -111,8 +111,8 @@ cp %SOURCE27 %buildroot/%etercifs_src/%src_package_name-2.6.27-%src_2_6_27_versi
%_initdir/%name.outformat
%changelog
* Fri Nov 07 2008 Konstantin Baev <kipruss@altlinux.org> 3.8.0-alt0.M41.2
- 41
* Tue Nov 11 2008 Konstantin Baev <kipruss@altlinux.org> 3.8.0-alt3
- add starting module after building (if module not exist)
* Fri Nov 07 2008 Konstantin Baev <kipruss@altlinux.org> 3.8.0-alt2
- fix building module on Ubuntu
......
......@@ -23,6 +23,7 @@ fi
[ -n "$SRC_DIR" ] || SRC_DIR=/usr/src
[ -n "$DATADIR" ] || DATADIR=/usr/share/etercifs
[ -n "$MODULENAME" ] || MODULENAME=etercifs
[ -n "$BUILT" ] || BUILT=0
ORIGMODULENAME=cifs
......@@ -129,7 +130,11 @@ load_module()
$MODPROBE $MODULENAME && { success ; return ; }
echo -n "$MODULENAME from Etersoft is not found, "
echo -n "trying to compile it..."
if [ $BUILT -ne 1 ] ; then
build_module
BUILT=1
start
fi
}
start()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment