diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-08-01 11:30:57 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-08-01 11:30:57 +0000 |
| commit | 0b70a10af25f10ef58b158cf8a1aa2d91b33aec5 (patch) | |
| tree | a169ae914d8437a5c8cacd0cb31ca54a1d56d439 /meta/packages/initscripts/initscripts-1.0/rmnologin | |
| parent | a67fb6c46a65fe08a4731201b6e02c0215324f05 (diff) | |
| download | poky-0b70a10af25f10ef58b158cf8a1aa2d91b33aec5.tar.gz | |
initscripts: Make rm nologin a .sh script
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4995 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/initscripts/initscripts-1.0/rmnologin')
| -rwxr-xr-x | meta/packages/initscripts/initscripts-1.0/rmnologin | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/rmnologin b/meta/packages/initscripts/initscripts-1.0/rmnologin deleted file mode 100755 index 417efc2456..0000000000 --- a/meta/packages/initscripts/initscripts-1.0/rmnologin +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | ### BEGIN INIT INFO | ||
| 3 | # Provides: rmnologin | ||
| 4 | # Required-Start: $remote_fs $all | ||
| 5 | # Required-Stop: | ||
| 6 | # Default-Start: 2 3 4 5 | ||
| 7 | # Default-Stop: | ||
| 8 | # Short-Description: Remove /etc/nologin at boot | ||
| 9 | # Description: This script removes the /etc/nologin file as the | ||
| 10 | # last step in the boot process, if DELAYLOGIN=yes. | ||
| 11 | # If DELAYLOGIN=no, /etc/nologin was not created by | ||
| 12 | # bootmisc earlier in the boot process. | ||
| 13 | ### END INIT INFO | ||
| 14 | |||
| 15 | if test -f /etc/nologin.boot | ||
| 16 | then | ||
| 17 | rm -f /etc/nologin /etc/nologin.boot | ||
| 18 | fi | ||
| 19 | |||
| 20 | : exit 0 | ||
