rc: fix for runlevel switching

This commit is contained in:
Matt Housh 2019-06-09 11:51:47 -05:00
parent 0d0033642e
commit 9e5123a0de
3 changed files with 11 additions and 6 deletions

View File

@ -1,11 +1,11 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVequDtedoGtZgWcf0r5uyF5IgQ50KtyMbbEifNCSxHXaGtH2RjYJDIVLHXeOGCYatqE0XV8XbhxxMRPFiKjuDCDgA=
SHA256 (Pkgfile) = ba5fcbe8d7b5afac673380e4b2b08a80ba54b9eb56f8191d670fae0a0d21c1b6
RWRJc1FUaeVeqt+zHuAUHJa7Oyhn6fkXE7rVrFmZwoyUtThXbYeklnvHO6627YZ96gvn/O+6TnSIJpe5GCH1NfFaMRnFFmcyQQo=
SHA256 (Pkgfile) = cd2548664d244675146cdcf8fba1c5a16b7e5d0a0f66717e11a832e45d3ce9fd
SHA256 (.footprint) = 83ecef9b904362368a7a581a43b3ea9b658bdbe8265ffae433068ee5beba15e4
SHA256 (inittab) = 7914281a73ee7746c7c16fe63d1631f3714f63467f2655c550c5f8b7c2f1fee7
SHA256 (rc) = 3a82a4a94829efdc3f890e4dc18513e857ef00b4b205bdc4f217556330a87f30
SHA256 (rc.modules) = 74d94558fe68f2a4b7b0f3dc2215c291300bc416d27e6d79d95f303cfc918788
SHA256 (rc.single) = 6dec2b39e70576d63e0e0615f68194ad4e0bb7febd65342528976f92120e25cc
SHA256 (rc.single) = 14a7487258f3b5f2406a860c34666abacf23eb37962d80fce66e496dd111061a
SHA256 (rc.multi) = 2cd2c4dbf2ac86243f775a0020efac08f631b658800c00f8a1c0a3d31855f29a
SHA256 (rc.local) = e39147ee4d402b2fea96639185d6055b361b1a44090653acf5790b51db6acdd1
SHA256 (rc.fix) = 6bc2e28e42d470e16d7d408bbd6b50164ae67388325702962c07a9a9228b91bd

View File

@ -4,7 +4,7 @@
name=rc
version=2.31
release=2
release=3
source=(inittab rc rc.modules rc.single rc.multi rc.local rc.fix rc.shutdown rc.conf)
build() {

View File

@ -26,9 +26,14 @@ if [ "$PREVLEVEL" != "N" ]; then
/bin/sleep 5
/sbin/killall5 -9
if ! /bin/mountpoint -q /proc ; then
/bin/mount -n -t proc none /proc
fi
if ! /bin/mountpoint -q /sys ; then
/bin/mount -n -t sysfs none /sys
fi
# Start udev
/bin/mount -n -t proc none /proc
/bin/mount -n -t sysfs none /sys
/sbin/start_udev
if [ -f /etc/rc.d/$SYSLOG -a -x /etc/rc.d/$SYSLOG ]; then