blob: 2f25a3ecc369422b706e6a14da377ab530428dfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- module-init-tools-0.9.7/generate-modprobe.conf.orig 2002-12-29 17:17:52.000000000 +0200
+++ module-init-tools-0.9.7/generate-modprobe.conf 2002-12-29 17:17:56.000000000 +0200
@@ -269,8 +269,8 @@
eval PREINSTALL=\"\$pre_install_$MODNAME\"
eval POSTINSTALL=\"\$post_install_$MODNAME\"
eval INSTALL=\"\$\{install_$MODNAME:-/sbin/modprobe --ignore-install $mod}\"
- if [ -n "$PREINSTALL" ]; then PREINSTALL="{ $PREINSTALL }; "; fi
- if [ -n "$POSTINSTALL" ]; then POSTINSTALL="&& { $POSTINSTALL }"; fi
+ if [ -n "$PREINSTALL" ]; then PREINSTALL="{ $PREINSTALL; }; "; fi
+ if [ -n "$POSTINSTALL" ]; then POSTINSTALL="&& { $POSTINSTALL; }"; fi
echo install $mod $PREINSTALL $INSTALL $POSTINSTALL
done
@@ -280,7 +280,7 @@
eval PREREMOVE=\"\$pre_remove_$MODNAME\"
eval POSTREMOVE=\"\$post_remove_$MODNAME\"
eval REMOVE=\"\$\{remove_$MODNAME:-/sbin/modprobe -r --ignore-remove $mod}\"
- if [ -n "$PREREMOVE" ]; then PREREMOVE="{ $PREREMOVE }; "; fi
- if [ -n "$POSTREMOVE" ]; then POSTREMOVE="&& { $POSTREMOVE }"; fi
+ if [ -n "$PREREMOVE" ]; then PREREMOVE="{ $PREREMOVE; }; "; fi
+ if [ -n "$POSTREMOVE" ]; then POSTREMOVE="&& { $POSTREMOVE; }"; fi
echo remove $mod $PREREMOVE $REMOVE $POSTREMOVE
done
|