aboutsummaryrefslogtreecommitdiff
path: root/sh/ifwatchd-nocarrier.sh.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-11-29 10:19:20 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-11-29 10:19:20 -0600
commit5cce37837b89145832c75b310791ae3a69d883ec (patch)
tree73170c37071961c293a795e405ed62f0784834cc /sh/ifwatchd-nocarrier.sh.in
parent0a72893c8b02e70a51e7ee0148a3fe586a82cd9d (diff)
localmount: only skip unmounting /usr if it was premounted
Add a test when localmount is started to determine if /usr is mounted from inside an initramfs for Linux systems. If it is not, we can unmount it when localmount stops. On *bsd systems, we always unmount /usr if it is separate. Reported-by: ryao@gentoo.org
Diffstat (limited to 'sh/ifwatchd-nocarrier.sh.in')
0 files changed, 0 insertions, 0 deletions