diff options
author | Roy Marples <roy@marples.name> | 2007-12-14 14:12:38 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-12-14 14:12:38 +0000 |
commit | 9f2403dffae514dca431828014a2dc9c9de4e61f (patch) | |
tree | bc1bd6ae83589f729a3bf7ca6d5ab592cbec56fd /init.d/bootmisc | |
parent | a3db3bac6242ff29871161620d0449125b3262aa (diff) |
Remove Gentoo copyright from all files that I know I have written
Diffstat (limited to 'init.d/bootmisc')
-rwxr-xr-x | init.d/bootmisc | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc index 5aa5f200..72254f11 100755 --- a/init.d/bootmisc +++ b/init.d/bootmisc @@ -1,5 +1,4 @@ #!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation # Copyright 2007 Roy Marples # All rights reserved @@ -70,13 +69,6 @@ cleanup_tmp_dir() { } start() { - # Put a nologin file in /etc to prevent people from logging - # in before system startup is complete. - if yesno ${delay_login:-${DELAYLOGIN}}; then - echo "System bootup in progress - please wait" > /etc/nologin - cp /etc/nologin /etc/nologin.boot - fi - if ! mkdir /.test.$$ 2>/dev/null; then ewarn "Skipping /var and /tmp initialization (ro root?)" return 0 @@ -94,8 +86,8 @@ start() { done ebegin "Creating user login records" - printf "" >/var/run/utmp - [ -e /var/log/wtmp ] || printf "" >/var/log/wtmp + cp /dev/null /var/run/utmp + [ -e /var/log/wtmp ] || cp /dev/null /var/log/wtmp chmod 0644 /var/run/utmp /var/log/wtmp eend 0 @@ -134,9 +126,6 @@ start() { dmesg > /var/log/dmesg chmod 640 /var/log/dmesg fi - - # Check for /etc/resolv.conf, and create if missing - [ -e /etc/resolv.conf ] || printf "" >/etc/resolv.conf } stop() { |