From 880e68141f27ea3295509bc51fee5179cdfa7695 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 2 Aug 2011 21:43:40 +0200 Subject: /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 --- rc.sysinit | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index 45e64b6..a7daad9 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -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 "") ;; -- cgit v1.2.3