aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-22 11:57:30 +0000
committerRoy Marples <roy@marples.name>2007-11-22 11:57:30 +0000
commitc2aa772687ec20acfe1e31dd2e39cf41d271613f (patch)
tree65d618aa65edae168d74647bb1a5862f8dfde5fe
parent46bb4b8f8bfb4006fb28967c50c32bf7ebf3644d (diff)
issue.devfix is Gentoo specific, as such it belongs in a separate init script.
-rwxr-xr-xinit.d/checkroot12
1 files changed, 0 insertions, 12 deletions
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
}