summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b07bc04..9b1230f 100644
--- a/Makefile
+++ b/Makefile
@@ -423,8 +423,9 @@ install: all devices
echo "alias char-major-196 $(PRIMARY)" >> $(MODCONF); \
fi; \
else \
+ grep "^options" $(MODCONF) > $(MODCONF).new; \
rm -f $(MODCONF) $(MODCONF).bak; \
- touch $(MODCONF); \
+ mv $(MODCONF).new $(MODCONF); \
fi; \
for x in $(MODULES); do \
if ! grep -q "post-install $$x" $(MODCONF); then \