Permalink
Browse files

CONFCONSOLE_FGVT -> FGVT (more generic)

- making it more generic allows it to be used by other apps, for example: di-live
  • Loading branch information...
1 parent cdf0c76 commit efb2943df1b9b355dd17ee0b7af77df4b172bec3 @alonswartz alonswartz committed Dec 5, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 confconsole.py
  2. +1 −1 debian/init
View
@@ -436,7 +436,7 @@ def _shutdown(self, text, opt):
if self.console.yesno(text) == self.OK:
self.running = False
cmd = "shutdown %s now" % opt
- fgvt = os.environ.get("CONFCONSOLE_FGVT")
+ fgvt = os.environ.get("FGVT")
if fgvt:
cmd = "chvt %s; " % fgvt + cmd
executil.system(cmd)
View
@@ -46,7 +46,7 @@ case "$1" in
if $START --quiet --test; then
chvt 1
- CONFCONSOLE_FGVT=$(fgconsole) openvt -c 8 -s -w -- $START &
+ FGVT=$(fgconsole) openvt -c 8 -s -w -- $START &
fi
log_action_end_msg $?
;;

0 comments on commit efb2943

Please sign in to comment.