. always install them (overwrite)
. source minix one from /etc/defaults/rc.conf
so that it'll get read on existing installs
without overwriting rc.conf (doesn't happen by default
as it's user-editable), needed for new netconf system
. reported by Tenkawa
PWFILES=master.passwd
FILES3=daily dhcptags.conf rc
-DEFAULTFILES=minix.rc.conf
+DEFAULTFILES=rc.conf minix.rc.conf
USRFILES=Makefile
TOOL_PWD_MKDB= pwd_mkdb
@echo "Making hierarchy.."
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
- for f in $(DEFAULTFILES); do cp $$f $(DEFAULTS); chmod 644 $(DEFAULTS)/$$f; done
+ for f in $(DEFAULTFILES); do cp defaults/$$f $(DEFAULTS)/; chmod 644 $(DEFAULTS)/$$f; done
@echo "Making devices.."
p=`pwd` && cd /dev && sh $$p/../commands/MAKEDEV/MAKEDEV.sh null
p=`pwd` && cd /dev && sh $$p/../commands/MAKEDEV/MAKEDEV.sh std 2>/dev/null
--- /dev/null
+if [ -r /etc/defaults/minix.rc.conf ]; then
+ . /etc/defaults/minix.rc.conf
+fi
+
. /etc/defaults/rc.conf
fi
-if [ -r /etc/defaults/minix.rc.conf ]; then
- . /etc/defaults/minix.rc.conf
-fi
-
# If this is not set to YES, the system will drop into single-user mode.
# (Doesn't matter for Minix.)
rc_configured=NO