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