2006-08-15 18:11:33 by steve
1. Mount /proc with nodev, nosuid, noexec just to be paranoid. 2. Fix syntax srror in script. D'oh.
This commit is contained in:
@@ -60,7 +60,7 @@ fi
|
||||
#
|
||||
cat <<E_O_FSTAB > ${prefix}/etc/fstab
|
||||
/dev/${device}1 / ${fs} ${options} 0 1
|
||||
proc /proc proc defaults 0 0
|
||||
proc /proc proc rw,nodev,nosuid,noexec 0 0
|
||||
E_O_FSTAB
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ E_O_FSTAB
|
||||
# Add in the swap unless it is disabled
|
||||
#
|
||||
if [ "${noswap}" ]; then
|
||||
#
|
||||
:
|
||||
else
|
||||
cat <<E_O_FSTAB >> ${prefix}/etc/fstab
|
||||
/dev/${device}2 none swap sw 0 0
|
||||
|
||||
@@ -61,14 +61,14 @@ fi
|
||||
#
|
||||
cat <<E_O_FSTAB > ${prefix}/etc/fstab
|
||||
/dev/${device}1 / ${fs} ${options} 0 1
|
||||
proc /proc proc defaults 0 0
|
||||
proc /proc proc rw,nodev,nosuid,noexec 0 0
|
||||
E_O_FSTAB
|
||||
|
||||
#
|
||||
# Add in the swap unless it is disabled
|
||||
#
|
||||
if [ "${noswap}" ]; then
|
||||
#
|
||||
:
|
||||
else
|
||||
cat <<E_O_FSTAB >> ${prefix}/etc/fstab
|
||||
/dev/${device}2 none swap sw 0 0
|
||||
|
||||
@@ -60,7 +60,7 @@ fi
|
||||
#
|
||||
cat <<E_O_FSTAB > ${prefix}/etc/fstab
|
||||
/dev/${device}1 / ${fs} ${options} 0 1
|
||||
proc /proc proc defaults 0 0
|
||||
proc /proc proc rw,nodev,nosuid,noexec 0 0
|
||||
E_O_FSTAB
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ E_O_FSTAB
|
||||
# Add in the swap unless it is disabled
|
||||
#
|
||||
if [ "${noswap}" ]; then
|
||||
#
|
||||
:
|
||||
else
|
||||
cat <<E_O_FSTAB >> ${prefix}/etc/fstab
|
||||
/dev/${device}2 none swap sw 0 0
|
||||
|
||||
@@ -58,7 +58,7 @@ fi
|
||||
#
|
||||
cat <<E_O_FSTAB > ${prefix}/etc/fstab
|
||||
/dev/${device}1 / ${fs} ${options} 0 1
|
||||
proc /proc proc defaults 0 0
|
||||
proc /proc proc rw,nodev,nosuid,noexec 0 0
|
||||
E_O_FSTAB
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ E_O_FSTAB
|
||||
# Add in the swap unless it is disabled
|
||||
#
|
||||
if [ "${noswap}" ]; then
|
||||
#
|
||||
:
|
||||
else
|
||||
cat <<E_O_FSTAB >> ${prefix}/etc/fstab
|
||||
/dev/${device}2 none swap sw 0 0
|
||||
|
||||
@@ -61,14 +61,14 @@ fi
|
||||
#
|
||||
cat <<E_O_FSTAB > ${prefix}/etc/fstab
|
||||
/dev/${device}1 / ${fs} ${options} 0 1
|
||||
proc /proc proc defaults 0 0
|
||||
proc /proc proc rw,nodev,nosuid,noexec 0 0
|
||||
E_O_FSTAB
|
||||
|
||||
#
|
||||
# Add in the swap unless it is disabled
|
||||
#
|
||||
if [ "${noswap}" ]; then
|
||||
#
|
||||
:
|
||||
else
|
||||
cat <<E_O_FSTAB >> ${prefix}/etc/fstab
|
||||
/dev/${device}2 none swap sw 0 0
|
||||
|
||||
Reference in New Issue
Block a user