/[baselayout]/trunk/init.d/rmnologin
Gentoo

Contents of /trunk/init.d/rmnologin

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2763 - (show annotations) (download)
Tue Jul 10 19:09:41 2007 UTC (7 years, 1 month ago) by uberlord
File size: 345 byte(s)
init scripts and their extra options can now have descriptions, #184327.
1 #!/sbin/runscript
2 # Copyright 1999-2007 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4
5 description="Removes a file which blocks logins until this service has run."
6
7 depend() {
8 need localmount
9 }
10
11 start() {
12 if [ -f /etc/nologin.boot ] ; then
13 rm -f /etc/nologin /etc/nologin.boot
14 fi
15 }
16
17 # vim: set ts=4 :

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20