failsafeX 274 B

1234567891011121314151617
  1. #!/bin/sh
  2. . /lib/recovery-mode/l10n.sh
  3. # no failsafe X session
  4. if [ ! -e /usr/share/xdiagnose/failsafeXServer ]; then
  5. exit 1
  6. fi
  7. if [ "$1" = "test" ]; then
  8. echo $(eval_gettext "Run in failsafe graphic mode")
  9. exit 0
  10. fi
  11. /usr/share/xdiagnose/failsafeXServer
  12. exit 0