syscons (208060) | syscons (227366) |
---|---|
1#!/bin/sh - 2# 3# Copyright (c) 2000 The FreeBSD Project 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# | 1#!/bin/sh - 2# 3# Copyright (c) 2000 The FreeBSD Project 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# |
27# $FreeBSD: head/etc/rc.d/syscons 208060 2010-05-14 04:53:57Z dougb $ | 27# $FreeBSD: head/etc/rc.d/syscons 227366 2011-11-08 23:02:32Z jilles $ |
28# 29 30# PROVIDE: syscons 31# REQUIRE: LOGIN 32# KEYWORD: nojail 33 34. /etc/rc.subr 35 --- 58 unchanged lines hidden (view full) --- 94 # change function keys 95 # 96 case ${keychange} in 97 [Nn][Oo] | '') 98 ;; 99 *) 100 sc_init 101 echo -n ' keychange' | 28# 29 30# PROVIDE: syscons 31# REQUIRE: LOGIN 32# KEYWORD: nojail 33 34. /etc/rc.subr 35 --- 58 unchanged lines hidden (view full) --- 94 # change function keys 95 # 96 case ${keychange} in 97 [Nn][Oo] | '') 98 ;; 99 *) 100 sc_init 101 echo -n ' keychange' |
102 set - ${keychange} | 102 set -- ${keychange} |
103 while [ $# -gt 0 ]; do 104 kbdcontrol <${kbddev} -f "$1" "$2" 105 shift; shift 106 done 107 ;; 108 esac 109 110 # set this keyboard mode for all virtual terminals --- 153 unchanged lines hidden --- | 103 while [ $# -gt 0 ]; do 104 kbdcontrol <${kbddev} -f "$1" "$2" 105 shift; shift 106 done 107 ;; 108 esac 109 110 # set this keyboard mode for all virtual terminals --- 153 unchanged lines hidden --- |