]> git.pld-linux.org Git - packages/console-tools.git/commitdiff
- updated
authorankry <ankry@pld-linux.org>
Fri, 2 May 2003 23:38:06 +0000 (23:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    console.init -> 1.6

console.init

index 906bb678fc352b9df44c3c37728ce02f8f4df623..e7c33412caf3fc8b9fa959125a46f9de20742072 100644 (file)
 . /etc/rc.d/init.d/functions
 
 case "$1" in
-       start|restart)
-               . /etc/sysconfig/console
+  start|restart|reload)
+       . /etc/sysconfig/console
 
-               if [ -n "$SVGATEXTMODE" ]
-               then
-                       run_cmd "Setting Text Mode $SVGATEXTMODE" SVGATextMode $SVGATEXTMODE
-               fi
-               if [ -n "$FBSET" ]
-               then
-                       run_cmd "Setting Text Mode $FBSET" fbset -a $FBSET
-               fi
-               if [ -n "$CONSOLEFONT" ]
-               then
-                       run_cmd "Loading console font and map" consolechars -m ${CONSOLEMAP:-trivial.trans} -f $CONSOLEFONT
-                       # Don't use "" here because additional options may be
-                       # specified after the font name (e.g. fallback tables)
-               fi
-               if [ -n "$KEYTABLE" ]
-               then
-                       run_cmd "Loading keyboard table" loadkeys $KEYTABLE < /dev/tty0 > /dev/tty0
-               fi
-               ;;
-       stop)
-               # Nothing to stop
-               ;;
-       status)
-               # Nothing to report
-               ;;
-       *)
-               msg_usage "$0 {start|stop|status|restart}"
-               exit 1
+       if [ -n "$SVGATEXTMODE" ]
+       then
+               run_cmd "$(nls 'Setting Text Mode') $SVGATEXTMODE" SVGATextMode $SVGATEXTMODE
+       fi
+       if [ -n "$FBSET" ]
+       then
+               run_cmd "$(nls 'Setting Text Mode') $FBSET" fbset -a $FBSET
+       fi
+       if [ -n "$CONSOLEFONT" ]
+       then
+               run_cmd "Loading console font and map" consolechars -m ${CONSOLEMAP:-trivial.trans} -f $CONSOLEFONT
+               # Don't use "" here because additional options may be
+               # specified after the font name (e.g. fallback tables)
+       fi
+       if [ -n "$KEYTABLE" ]
+       then
+               run_cmd "Loading keyboard table" loadkeys $KEYTABLE < /dev/tty0 > /dev/tty0
+       fi
+       ;;
+  stop|status)
+       # Nothing to stop and/or report
+       ;;
+  *)
+       msg_usage "$0 {start|stop|restart|reload|status}"
+       exit 1
 esac
 
 exit 0
This page took 0.070943 seconds and 4 git commands to generate.