diff options
author | Tom Gundersen <teg@jklm.no> | 2011-08-02 21:43:40 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-08-02 21:43:40 +0200 |
commit | 880e68141f27ea3295509bc51fee5179cdfa7695 (patch) | |
tree | dea1b80098e39deeefaa770d1dac36fe158520d1 /rc.sysinit | |
parent | 92ef85ff23d548f6dc9be3fb9b73a050f596941f (diff) | |
download | initscripts-880e68141f27ea3295509bc51fee5179cdfa7695.tar.xz |
/usr: warn on separate usr
We check for /usr/lib being present. If it is not, we assume /usr
is not yet mounted and warn.
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -35,6 +35,10 @@ run_hook sysinit_start minilogd bootlogd -p /run/bootlogd.pid +if [[ ! -a /usr/lib ]] ; then + printf "${C_FAIL}/usr is on a separate partition. This is not supported.${C_OTHER}\n" +fi + HWCLOCK_PARAMS="--systz" case $HARDWARECLOCK in "") ;; |