Commit 013d1de9 authored by Mike Hibler's avatar Mike Hibler

Updates

parent f333cfac
# $FreeBSD: src/etc/group,v 1.34 2006/02/05 19:34:09 rwatson Exp $
# $FreeBSD: src/etc/group,v 1.35 2007/06/11 18:36:39 ceri Exp $
#
wheel:*:0:root,toor
daemon:*:1:
......@@ -11,6 +11,7 @@ bin:*:7:
news:*:8:
man:*:9:
games:*:13:
ftp:*:14:
staff:*:20:root,toor
sshd:*:22:
smmsp:*:25:
......
......@@ -8,6 +8,7 @@ use English;
use Getopt::Std;
my $FSTAB = "/etc/fstab";
my $script = $0;
#
# Figure out if there is a swap device and add it to fstab.
......@@ -125,6 +126,7 @@ sub addswap($$)
print STDERR "*** WARNING: could not add /dev/$dev to $FSTAB, ".
"swap enabled this boot only\n";
}
print FD "# the following added by $script\n";
print FD "/dev/$dev\t\tnone\tswap\tsw\t0\t0\n";
close(FD);
print "Swap enabled\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment