From c2aa772687ec20acfe1e31dd2e39cf41d271613f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 22 Nov 2007 11:57:30 +0000 Subject: issue.devfix is Gentoo specific, as such it belongs in a separate init script. --- init.d/checkroot | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'init.d/checkroot') diff --git a/init.d/checkroot b/init.d/checkroot index f748addf..3592191e 100755 --- a/init.d/checkroot +++ b/init.d/checkroot @@ -147,18 +147,6 @@ start() { # Only Linux has mtab [ "${RC_UNAME}" = "Linux" -a -e /proc/mounts ] && do_mtab - # If the user's /dev/null or /dev/console are missing, we - # should help them out and explain how to rectify the situation - if [ ! -c /dev/null -o ! -c /dev/console ] ; then - if [ -e /usr/share/baselayout/issue.devfix ] ; then - # Backup current /etc/issue - if [ -e /etc/issue -a ! -e /etc/issue.devfix ] ; then - mv -f /etc/issue /etc/issue.devfix - fi - cp -f /usr/share/baselayout/issue.devfix /etc/issue - fi - fi - # We got here, so return 0 return 0 } -- cgit v1.2.3