| Rev | Line |   | 
|---|
| [9] | 1 | 
 | 
|---|
 | 2 | ETC=/etc/
 | 
|---|
 | 3 | USRETC=/usr/etc/
 | 
|---|
 | 4 | FILES1=fstab group hostname.file inet.conf motd.install mtab passwd profile protocols rc services termcap ttytab utmp rc.cd binary_sizes binary_sizes.big binary_sizes.xxl rc.rescue syslog.conf rc.daemons.dist 
 | 
|---|
 | 5 | FILES2=shadow
 | 
|---|
 | 6 | FILES3=daily dhcptags.conf rc
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | all::
 | 
|---|
 | 9 | 
 | 
|---|
 | 10 | clean::
 | 
|---|
 | 11 | 
 | 
|---|
 | 12 | install::
 | 
|---|
 | 13 |         @echo "Installing /etc and /usr/etc.."
 | 
|---|
 | 14 |         mkdir -p $(ETC)
 | 
|---|
 | 15 |         @for f in $(FILES1); do if [ -f $(ETC)/$$f ]; then :; else cp $$f $(ETC)/$$f; chmod 755 $(ETC)/$$f; fi; done
 | 
|---|
 | 16 |         @for f in $(FILES2); do if [ -f $(ETC)/$$f ]; then :; else cp $$f $(ETC)/$$f; chmod 600 $(ETC)/$$f; fi; done
 | 
|---|
 | 17 |         @echo "Making hierarchy.."
 | 
|---|
 | 18 |         sh mtree.sh mtree/minix.tree
 | 
|---|
 | 19 |         @for f in $(FILES3); do if [ -f $(USRETC)/$$f ]; then :; else cp usr/$$f $(USRETC); chmod 755 $(USRETC)/$$f; fi; done
 | 
|---|
 | 20 |         @echo "Making devices.."
 | 
|---|
 | 21 |         p=`pwd` && cd /dev && sh $$p/../commands/scripts/MAKEDEV.sh null 
 | 
|---|
 | 22 |         p=`pwd` && cd /dev && sh $$p/../commands/scripts/MAKEDEV.sh std  2>/dev/null
 | 
|---|
 | 23 |         @echo "Making user homedirs.."
 | 
|---|
 | 24 |         for u in /usr/ast ~root; do (cd ast && tar cf - .[a-z]* ) | (cd $$u && tar xf - ); done
 | 
|---|
 | 25 | 
 | 
|---|
 | 26 | postinstall:
 | 
|---|
 | 27 |         binsizes normal
 | 
|---|
 | 28 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.