OpenSDE Framework (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.2 KiB

  1. #!patch
  2. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. #
  5. # T2 SDE: target/share/livecd/rootfs/sbin/init.d/system
  6. # Copyright (C) 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- T2-COPYRIGHT-NOTE-END ---
  15. --- system.vanilla 2005-11-07 01:45:58.000000000 +0100
  16. +++ system 2005-11-07 01:47:13.000000000 +0100
  17. @@ -66,6 +66,14 @@
  18. title "Activating swap devices."
  19. swapon -a || error=$?
  20. + for x in /dev/{hd,sd}??*; do
  21. + [ -e $x ] || continue
  22. + if disktype $x | grep -q Swap &&
  23. + ! grep -q $x /proc/swaps; then
  24. + echo "Discovered swap space on $x, activating."
  25. + swapon $x
  26. + fi
  27. + done
  28. status
  29. title "Checking file systems."
  30. @@ -88,7 +88,9 @@
  31. status
  32. title "Mounting local file systems."
  33. +if false; then
  34. mount -n -o remount,rw / || error=$?
  35. +fi
  36. cat /proc/mounts > /etc/mtab
  37. mount -a -t nocoda,nfs,devfs,proc,sysfs || error=$?
  38. status