2 |
|
|
3 |
source /etc/sysconfig/rc |
source /etc/sysconfig/rc |
4 |
source $rc_functions |
source $rc_functions |
|
source /etc/mageversion |
|
5 |
|
|
6 |
|
# get mage version |
7 |
|
MAGEVER="$(< /etc/mageversion)" |
8 |
|
|
9 |
#source kernel config if exists |
#source kernel config if exists |
10 |
[ -f /etc/conf.d/kernel ] && source /etc/conf.d/kernel |
[ -f /etc/conf.d/kernel ] && source /etc/conf.d/kernel |
213 |
# make shure that udev is mounted but *not* devfs --> /dev/.devfsd |
# make shure that udev is mounted but *not* devfs --> /dev/.devfsd |
214 |
if [ "${RC_DEVICE_TARBALL}" = "yes" \ |
if [ "${RC_DEVICE_TARBALL}" = "yes" \ |
215 |
-a -e /dev/.udev \ |
-a -e /dev/.udev \ |
216 |
-a ! -e /dev/.devfsd ] |
-a ! -e /dev/.devfsd \ |
217 |
|
-a ! -e /.bootdev ] |
218 |
then |
then |
219 |
echo -e ${COLOREDSTAR}"Saving /dev device nodes ..." |
echo -e ${COLOREDSTAR}"Saving /dev device nodes ..." |
220 |
cd /dev |
cd /dev |
235 |
# make shure that udev is mounted but *not* devfs --> /dev/.devfsd |
# make shure that udev is mounted but *not* devfs --> /dev/.devfsd |
236 |
if [ "${RC_DEVICE_TARBALL}" = "yes" \ |
if [ "${RC_DEVICE_TARBALL}" = "yes" \ |
237 |
-a -e /dev/.udev \ |
-a -e /dev/.udev \ |
238 |
-a ! -e /dev/.devfsd ] |
-a ! -e /dev/.devfsd \ |
239 |
|
-a ! -e /.bootdev ] |
240 |
then |
then |
241 |
echo -e ${COLOREDSTAR}"Saving /dev device nodes ..." |
echo -e ${COLOREDSTAR}"Saving /dev device nodes ..." |
242 |
cd /dev |
cd /dev |