/[baselayout]/trunk/sbin/init.bsd.sh
Gentoo

Contents of /trunk/sbin/init.bsd.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2050 - (show annotations) (download) (as text)
Fri Jun 2 20:02:40 2006 UTC (8 years, 2 months ago) by uberlord
File MIME type: text/x-sh
File size: 753 byte(s)
    Allow LC_* and LANG vars through to runscript.sh by default.

    net.lo now comes after bootmisc, #135118 thanks to Oldrich Jedlicka.

    arping.sh now has MAC address support, #134253 thanks to Oldrich Jedlicka.

    pppd.sh now updates secret files with a blank password, #134337

    Remove swapon call from /sbin/rc as localmount already calls it,
    partial fix for #134489
1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3
4 # void single_user()
5 #
6 # Drop to a shell, remount / ro, and then reboot
7 #
8 single_user() {
9 exit 1
10 }
11
12 source "${svclib}"/sh/init-functions.sh
13 source "${svclib}"/sh/init-common-pre.sh
14
15 echo
16 echo -e "${GOOD}Gentoo/FreeBSD $(get_base_ver); ${BRACKET}http://gentoo-alt.gentoo.org/${NORMAL}"
17 echo -e " Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2"
18 echo
19 if [[ ${RC_INTERACTIVE} == "yes" ]] ; then
20 echo -e "Press ${GOOD}I${NORMAL} to enter interactive boot mode"
21 echo
22 fi
23
24 check_statedir /proc
25
26 ebegin "Mounting linprocfs at /proc"
27 try mount -t linprocfs none /proc
28 eend $?
29
30 source "${svclib}"/sh/init-common-post.sh
31
32 # vim:ts=4

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20