diff options
author | 2005-09-03 18:13:27 +0000 | |
---|---|---|
committer | 2005-09-03 18:13:27 +0000 | |
commit | 883e2c3d019587e3fe404a7ce851d791953f7c8b (patch) | |
tree | 6f1494ae6042467bd2977241bdffc8e669ae0aa6 /init.d/numlock | |
parent | We don't have TERMINALS in vservers, serial consoles, three-finger-salute, de... (diff) | |
download | baselayout-vserver-883e2c3d019587e3fe404a7ce851d791953f7c8b.tar.gz baselayout-vserver-883e2c3d019587e3fe404a7ce851d791953f7c8b.tar.bz2 baselayout-vserver-883e2c3d019587e3fe404a7ce851d791953f7c8b.zip |
Removing unneeded init-scripts
svn path=/baselayout-vserver/trunk/; revision=12
Diffstat (limited to 'init.d/numlock')
-rwxr-xr-x | init.d/numlock | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/init.d/numlock b/init.d/numlock deleted file mode 100755 index 22654f0..0000000 --- a/init.d/numlock +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need localmount -} - -start() { - ebegin "Enabling numlock on ttys" - local dev - [[ -d /dev/vc ]] \ - && dev=/dev/vc/ \ - || dev=/dev/tty - for tty in $(seq 1 "${RC_TTY_NUMBER}") ; do - setleds -D +num < ${dev}${tty} &> /dev/null - done - eend $? "Failed to enable numlock" -} - -stop() { - ebegin "Disabling numlock on ttys" - local dev - [[ -d /dev/vc ]] \ - && dev=/dev/vc/ \ - || dev=/dev/tty - for tty in $(seq 1 "${RC_TTY_NUMBER}") ; do - setleds -D -num < ${dev}${tty} &> /dev/null - done - eend $? "Failed to disable numlock" -} - - -# vim:ts=4 |