| … | |
… | |
| 154 | eend $? |
154 | eend $? |
| 155 | fi |
155 | fi |
| 156 | fi |
156 | fi |
| 157 | fi |
157 | fi |
| 158 | |
158 | |
| 159 | # Swap needs to be activated *after* /dev has been fully setup so that |
|
|
| 160 | # the fstab can be properly parsed. This first pass we send to /dev/null |
|
|
| 161 | # in case the user has swap points setup on different partitions. We |
|
|
| 162 | # will run swapon again in localmount and that one will report errors. |
|
|
| 163 | ebegin "Activating (possible) swap" |
|
|
| 164 | /sbin/swapon -a >& /dev/null |
|
|
| 165 | eend 0 |
|
|
| 166 | |
|
|
| 167 | source "${svclib}"/sh/init-common-post.sh |
159 | source "${svclib}"/sh/init-common-post.sh |
| 168 | |
160 | |
| 169 | # Have to run this after /var/run is mounted rw, bug #85304 |
161 | # Have to run this after /var/run is mounted rw, bug #85304 |
| 170 | if [[ -x /sbin/irqbalance && $(get_KV) -ge "$(KV_to_int '2.5.0')" ]] ; then |
162 | if [[ -x /sbin/irqbalance && $(get_KV) -ge "$(KV_to_int '2.5.0')" ]] ; then |
| 171 | ebegin "Starting irqbalance" |
163 | ebegin "Starting irqbalance" |