summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc8
-rw-r--r--etc/sysconfig6
2 files changed, 12 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 6d2d250..2a30108 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.95 1996/07/18 19:09:06 pst Exp $
+# $Id: rc,v 1.96 1996/07/30 06:28:59 jkh Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -91,6 +91,12 @@ if [ -f /etc/sysconfig ]; then
. /etc/sysconfig
fi
+# Add additional swapfile, if configured.
+if [ "x$swapfile" != "xNO" -a -w $swapfile -a -f /dev/vn0b ]; then
+ echo "Adding $swapfile as additional swap."
+ /usr/sbin/vnconfig /dev/vn0b $swapfile && swapon /dev/vn0b
+fi
+
# configure serial devices
if [ -f /etc/rc.serial ]; then
. /etc/rc.serial
diff --git a/etc/sysconfig b/etc/sysconfig
index 5da75aa..cdea2c3 100644
--- a/etc/sysconfig
+++ b/etc/sysconfig
@@ -4,7 +4,7 @@
# This is sysconfig - a file full of useful variables that you can set
# to change the default startup behavior of your system.
#
-# $Id: sysconfig,v 1.46 1996/05/13 02:21:16 jkh Exp $
+# $Id: sysconfig,v 1.47 1996/06/23 20:54:26 ache Exp $
######################### Start Of Local Configuration Section ###########
@@ -209,6 +209,10 @@ dumpdev=NO
# Set to YES if you want kernel crashdumps to be saved for debugging
savecore=NO
+# Set to an additional swapfile you'd like to have added to preallocated swap
+# space during system boot (or NO for none).
+swapfile=NO
+
# Set to YES if you want to run Kerberos authentication
kerberos_server=NO
OpenPOWER on IntegriCloud