aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-06-27 19:26:13 +0000
committerBill Nottingham <notting@redhat.com>2000-06-27 19:26:13 +0000
commit063329c368a80270744e3de17b1116f3b2cba181 (patch)
treeeff4f54a000db4111435e886e2d3a69e205e49b9
parent3933cb0c109499f317409805cf5fb109573299ae (diff)
downloadinitscripts-063329c368a80270744e3de17b1116f3b2cba181.tar
initscripts-063329c368a80270744e3de17b1116f3b2cba181.tar.gz
initscripts-063329c368a80270744e3de17b1116f3b2cba181.tar.bz2
initscripts-063329c368a80270744e3de17b1116f3b2cba181.tar.xz
initscripts-063329c368a80270744e3de17b1116f3b2cba181.zip
*** empty log message ***r5-21
-rw-r--r--ChangeLog6
-rw-r--r--initscripts.spec2
-rwxr-xr-xrc.d/rc.sysinit4
3 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 1912e9e3..8c652fe4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2000-06-27 Bill Nottingham <notting@redhat.com>
+ * rc.d/rc.sysinit: don't mount /dev/shm
+
+ * initscripts.spec: tweak %pre
+
+2000-06-27 Bill Nottingham <notting@redhat.com>
+
* initscripts.spec: tweak %pre
2000-06-21 Preston Brown <pbrown@redhat.com>
diff --git a/initscripts.spec b/initscripts.spec
index 4189497e..c5cf84a9 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -66,7 +66,7 @@ touch $RPM_BUILD_ROOT/var/log/wtmp
%pre
/usr/sbin/groupadd -g 22 -r -f utmp
-if [ -d /etc/rc.d ]; then
+if [ -d /etc/rc.d -a ! -L /etc/rc.d ]; then
cp -af /etc/rc.d/* /etc && rm -rf /etc/rc.d && ln -snf . /etc/rc.d
fi
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 8c72cfc2..09ad5982 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -13,10 +13,6 @@ fi
# If we're using devfs, start devfsd now - we need the old device names
[ -e /dev/.devfsd -a -x /sbin/devfsd ] && /sbin/devfsd /dev
-# Mount shm - ignore errors because the only "error" that can occur is
-# a kernel < 2.3.99 which doesn't require /dev/shm
-mount -t shm none /dev/shm &>/dev/null || :
-
# Set the path
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH