Browse Source

sysfiles: changed to use overlay_apply()

stable/0.6
Alejandro Mery 15 years ago
committed by Christian Wiese
parent
commit
1d3219c6d3
30 changed files with 2 additions and 10 deletions
  1. +0
    -0
      base/sysfiles/overlay.d/etc_conf_NOTE.txt
  2. +0
    -0
      base/sysfiles/overlay.d/etc_conf_console.txt
  3. +0
    -0
      base/sysfiles/overlay.d/etc_conf_devfs.txt
  4. +0
    -0
      base/sysfiles/overlay.d/etc_conf_hardware.txt
  5. +0
    -0
      base/sysfiles/overlay.d/etc_conf_kbd.txt
  6. +0
    -0
      base/sysfiles/overlay.d/etc_conf_kernel.txt
  7. +0
    -0
      base/sysfiles/overlay.d/etc_conf_pci.txt
  8. +0
    -0
      base/sysfiles/overlay.d/etc_conf_profile.txt
  9. +0
    -0
      base/sysfiles/overlay.d/etc_conf_usb.txt
  10. +0
    -0
      base/sysfiles/overlay.d/etc_dircolors.txt
  11. +0
    -0
      base/sysfiles/overlay.d/etc_filesystems.txt
  12. +0
    -0
      base/sysfiles/overlay.d/etc_fstab.txt
  13. +0
    -0
      base/sysfiles/overlay.d/etc_group.txt
  14. +0
    -0
      base/sysfiles/overlay.d/etc_gshadow.txt
  15. +0
    -0
      base/sysfiles/overlay.d/etc_host.conf.txt
  16. +0
    -0
      base/sysfiles/overlay.d/etc_hosts.txt
  17. +0
    -0
      base/sysfiles/overlay.d/etc_init.d_functions-ansi.in.txt
  18. +0
    -0
      base/sysfiles/overlay.d/etc_init.d_functions.in.txt
  19. +0
    -0
      base/sysfiles/overlay.d/etc_initscript.txt
  20. +0
    -0
      base/sysfiles/overlay.d/etc_inputrc.txt
  21. +0
    -0
      base/sysfiles/overlay.d/etc_networks.txt
  22. +0
    -0
      base/sysfiles/overlay.d/etc_passwd.txt
  23. +0
    -0
      base/sysfiles/overlay.d/etc_profile.txt
  24. +0
    -0
      base/sysfiles/overlay.d/etc_rc.d_rc.txt
  25. +0
    -0
      base/sysfiles/overlay.d/etc_resolv.conf.txt
  26. +0
    -0
      base/sysfiles/overlay.d/etc_sakmsg.txt
  27. +0
    -0
      base/sysfiles/overlay.d/etc_shadow.txt
  28. +0
    -0
      base/sysfiles/overlay.d/etc_shells.txt
  29. +0
    -0
      base/sysfiles/overlay.d/etc_sysctl.conf.txt
  30. +2
    -10
      base/sysfiles/sysfiles.conf

base/sysfiles/etc_conf_NOTE.txt → base/sysfiles/overlay.d/etc_conf_NOTE.txt


base/sysfiles/etc_conf_console.txt → base/sysfiles/overlay.d/etc_conf_console.txt


base/sysfiles/etc_conf_devfs.txt → base/sysfiles/overlay.d/etc_conf_devfs.txt


base/sysfiles/etc_conf_hardware.txt → base/sysfiles/overlay.d/etc_conf_hardware.txt


base/sysfiles/etc_conf_kbd.txt → base/sysfiles/overlay.d/etc_conf_kbd.txt


base/sysfiles/etc_conf_kernel.txt → base/sysfiles/overlay.d/etc_conf_kernel.txt


base/sysfiles/etc_conf_pci.txt → base/sysfiles/overlay.d/etc_conf_pci.txt


base/sysfiles/etc_conf_profile.txt → base/sysfiles/overlay.d/etc_conf_profile.txt


base/sysfiles/etc_conf_usb.txt → base/sysfiles/overlay.d/etc_conf_usb.txt


base/sysfiles/etc_dircolors.txt → base/sysfiles/overlay.d/etc_dircolors.txt


base/sysfiles/etc_filesystems.txt → base/sysfiles/overlay.d/etc_filesystems.txt


base/sysfiles/etc_fstab.txt → base/sysfiles/overlay.d/etc_fstab.txt


base/sysfiles/etc_group.txt → base/sysfiles/overlay.d/etc_group.txt


base/sysfiles/etc_gshadow.txt → base/sysfiles/overlay.d/etc_gshadow.txt


base/sysfiles/etc_host.conf.txt → base/sysfiles/overlay.d/etc_host.conf.txt


base/sysfiles/etc_hosts.txt → base/sysfiles/overlay.d/etc_hosts.txt


base/sysfiles/etc_init.d_functions-ansi.in.txt → base/sysfiles/overlay.d/etc_init.d_functions-ansi.in.txt


base/sysfiles/etc_init.d_functions.in.txt → base/sysfiles/overlay.d/etc_init.d_functions.in.txt


base/sysfiles/etc_initscript.txt → base/sysfiles/overlay.d/etc_initscript.txt


base/sysfiles/etc_inputrc.txt → base/sysfiles/overlay.d/etc_inputrc.txt


base/sysfiles/etc_networks.txt → base/sysfiles/overlay.d/etc_networks.txt


base/sysfiles/etc_passwd.txt → base/sysfiles/overlay.d/etc_passwd.txt


base/sysfiles/etc_profile.txt → base/sysfiles/overlay.d/etc_profile.txt


base/sysfiles/etc_rc.d_rc.txt → base/sysfiles/overlay.d/etc_rc.d_rc.txt


base/sysfiles/etc_resolv.conf.txt → base/sysfiles/overlay.d/etc_resolv.conf.txt


base/sysfiles/etc_sakmsg.txt → base/sysfiles/overlay.d/etc_sakmsg.txt


base/sysfiles/etc_shadow.txt → base/sysfiles/overlay.d/etc_shadow.txt


base/sysfiles/etc_shells.txt → base/sysfiles/overlay.d/etc_shells.txt


base/sysfiles/etc_sysctl.conf.txt → base/sysfiles/overlay.d/etc_sysctl.conf.txt


+ 2
- 10
base/sysfiles/sysfiles.conf

@ -18,16 +18,8 @@ main_sf() {
cd $root/
echo "Creating various etc/* files ..."
for x in $( cd $confdir ; echo etc_*.txt ) ; do
y="${x%.txt}" ; z="/"
if [ -f "${y//_/$z}" ]
then
echo "Found old ${y//_/$z} (don't overwrite)."
touch "${y//_/$z}"
else
cp -v "$confdir/$x" "${y//_/$z}"
fi
done
overlay_apply -n "$confdir/overlay.d"
[ -f etc/HOSTNAME ] || echo localhost > etc/HOSTNAME
chmod +x etc/initscript etc/rc.d/rc

Loading…
Cancel
Save