projects
/
hdw-linux
/
hdw-linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed mesa build
[hdw-linux/hdw-linux.git]
/
fai
/
scripts
/
rc_fai.sh
diff --git
a/fai/scripts/rc_fai.sh
b/fai/scripts/rc_fai.sh
index
a839f69
..
d1e4f67
100755
(executable)
--- a/
fai/scripts/rc_fai.sh
+++ b/
fai/scripts/rc_fai.sh
@@
-87,6
+87,8
@@
cat $myconf/disk | grep -v '^#' | while read nr mp fs ac; do
fi
fi
done
fi
fi
done
+[ "$swap" != "0" -a -b ${disk}${swap} ] && \
+ echo -e "${disk}${swap}\tswap\tswap\tdefaults 0 0" >> $root/etc/fstab
# packages might install new fstab file, stored.
cp $root/etc/fstab $root/etc/fstab~
# packages might install new fstab file, stored.
cp $root/etc/fstab $root/etc/fstab~