Fixed bug that caused /dev/null to be created as file before being created

as special file
This commit is contained in:
Ben Gras 2005-06-27 16:31:27 +00:00
parent 2abe246e5c
commit db2d114d06

View file

@ -18,6 +18,7 @@ install::
sh mtree.sh mtree/minix.tree
@for f in $(FILES3); do if [ -f $(USRETC)/$$f ]; then :; else cp usr/$$f $(USRETC); chmod 755 $(USRETC)/$$f; fi; done
@echo "Making devices.."
cd /dev && sh /usr/src/commands/scripts/MAKEDEV.sh null
cd /dev && sh /usr/src/commands/scripts/MAKEDEV.sh std 2>/dev/null
@echo "Making user homedirs.."
for u in bin ast root; do (cd ast && tar cf - .[a-z]* ) | (cd ~$$u && tar xf - ); chown -R $$u ~$$u; done