X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=backup%2Fbringup;h=b88a7200959bea52f4847d7bc32f2a980f17af5c;hp=ff6107d4330b7f7d7bebc81360d48d6f571cfe11;hb=78c7e0c44c2686cf1b9f043297bdd51ce28d0192;hpb=d906fbd72072c6953922e0627bbcf3d4c62ce7c0 diff --git a/backup/bringup b/backup/bringup index ff6107d..b88a720 100755 --- a/backup/bringup +++ b/backup/bringup @@ -6,12 +6,13 @@ # other UN*X-compatible machines, as used on chiark.greenend.org.uk. # # chiark backup is: -# Copyright (C) 1997-1998,2000-2001 Ian Jackson +# Copyright (C) 1997-1998,2000-2001,2007 +# Ian Jackson # Copyright (C) 1999 Peter Maydell # # This is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software -# Foundation; either version 2, or (at your option) any later version. +# Foundation; either version 3, or (at your option) any later version. # # This is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS @@ -19,8 +20,8 @@ # details. # # You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# with this program; if not, consult the Free Software Foundation's +# website at www.fsf.org, or the GNU Project website at www.gnu.org. # Very simple: extract the default runlevel from /etc/inittab # and change to it with telinit. @@ -28,5 +29,4 @@ runlevel=`sed -ne '/^id:/ s/.*:\([0-9]\):.*/\1/p' /etc/inittab` telinit $runlevel -# This switches to virtual console 11, but I don't think I want that -- PMM -#chvt 11 +test ! -f /etc/chiark-backup/bringup-hook