diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-04-21 20:04:15 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-04-22 08:59:58 +0200 |
commit | e3a1852d96ae78349efc578cf9f42f72a0b1355c (patch) | |
tree | 8df2b4fb8708e6ed5d59e1b177af498ebb9c465c /source/a/sysvinit-scripts/scripts/rc.S | |
parent | b3fe11ea2cf9e0146a94e2dd76c825b874e6e944 (diff) | |
download | current-e3a1852d96ae78349efc578cf9f42f72a0b1355c.tar.gz |
Wed Apr 21 20:04:15 UTC 202120210421200415
a/exfatprogs-1.1.1-x86_64-1.txz: Upgraded.
a/kernel-firmware-20210421_cfa004c-noarch-1.txz: Upgraded.
a/kernel-generic-5.10.32-x86_64-1.txz: Upgraded.
a/kernel-huge-5.10.32-x86_64-1.txz: Upgraded.
a/kernel-modules-5.10.32-x86_64-1.txz: Upgraded.
a/sysvinit-scripts-15.0-noarch-1.txz: Upgraded.
rc.S: Check to see if /proc is already mounted before mounting it.
Thanks to baldzhang.
d/kernel-headers-5.10.32-x86-1.txz: Upgraded.
k/kernel-source-5.10.32-noarch-1.txz: Upgraded.
l/libdvdnav-6.1.1-x86_64-1.txz: Upgraded.
n/openvpn-2.5.2-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
testing/packages/linux-5.11.x/kernel-generic-5.11.16-x86_64-1.txz: Upgraded.
testing/packages/linux-5.11.x/kernel-headers-5.11.16-x86-1.txz: Upgraded.
testing/packages/linux-5.11.x/kernel-huge-5.11.16-x86_64-1.txz: Upgraded.
testing/packages/linux-5.11.x/kernel-modules-5.11.16-x86_64-1.txz: Upgraded.
testing/packages/linux-5.11.x/kernel-source-5.11.16-noarch-1.txz: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/a/sysvinit-scripts/scripts/rc.S')
-rw-r--r-- | source/a/sysvinit-scripts/scripts/rc.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/a/sysvinit-scripts/scripts/rc.S b/source/a/sysvinit-scripts/scripts/rc.S index 90406546..03bd9ece 100644 --- a/source/a/sysvinit-scripts/scripts/rc.S +++ b/source/a/sysvinit-scripts/scripts/rc.S @@ -7,8 +7,10 @@ PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin -# Try to mount /proc: -/sbin/mount -v proc /proc -n -t proc 2> /dev/null +# Mount /proc if it is not already mounted: +if [ ! -r /proc/self/mounts ]; then + /sbin/mount -v proc /proc -n -t proc 2> /dev/null +fi # Mount sysfs next, if the kernel supports it: if [ -d /sys ]; then |