Debian Codegraph @

scripts/sbin/drbl-live-conf-X

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 # Author: Steven Shiau <steven _at_ clonezilla org>
3 # License: GPL
4
5 # Load DRBL setting and functions
6 DRBL_SCRIPT_PATH="${DRBL_SCRIPT_PATH:-/usr/share/drbl}"
7
8 . $DRBL_SCRIPT_PATH/sbin/drbl-conf-functions
9 [scip-shell system . . `[`. -e /etc/drbl/drbl-ocs.confscip-shell filesystem . . `/etc/drbl/drbl-ocs.conf`. ] && . /etc/drbl/drbl-ocs.confscip-shell source . . `/etc/drbl/drbl-ocs.conf`.
10 [scip-shell system . . `[`. -e $DRBL_SCRIPT_PATH/sbin/ocs-functions ] && . $DRBL_SCRIPT_PATH/sbin/ocs-functions
11
12 # Load ocs_lang if it exists
13 [scip-shell system . . `[`. -e /etc/ocs/ocs-live.confscip-shell filesystem . . `/etc/ocs/ocs-live.conf`. ] && . /etc/ocs/ocs-live.confscip-shell source . . `/etc/ocs/ocs-live.conf`.
14
15 #
16 config_Xscip-shell shell shell-project 0.0.0 config_X().() {
17 local action
18 [scip-shell system . . `[`. "$BOOTUP" = "color" ] && $SETCOLOR_WARNING
19 echoscip-shell system . . echo. "$msg_later_enter_X_in_drbl_live"
20 [scip-shell system . . `[`. "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
21 echoscip-shell system . . echo. "$msg_run_forcevideo_drbl_live_prompt"
22 echoscip-shell system . . echo. "$msg_failing_start_X_in_drbl_live_prompt"
23 echoscip-shell system . . echo. "------------------------------------------"
24 [scip-shell system . . `[`. "$BOOTUP" = "color" ] && $SETCOLOR_WARNING
25 echoscip-shell system . . echo. "$msg_which_mode_do_you_prefer"
26 [scip-shell system . . `[`. "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
27 echoscip-shell system . . echo. "(0) $msg_continue_to_start_X_for_drbl_live"
28 echoscip-shell system . . echo. "(1) $msg_run_forcevideo_to_config_X_manually"
29 echoscip-shell system . . echo. "(2) $msg_enter_cmd_prompt_to_config_X"
30 echoscip-shell system . . echo. -n "[0] "
31 read action
32 case "$action" in
33 1) Forcevideo-drbl-live --skip-start-x # This process is still in rc*.d, skip start x
34 ;;
35 2) echoscip-shell system . . echo. "$msg_enter_another_shell_hint_wo_netcfg_prompt"
36 /bin/bashscip-shell filesystem . . `/bin/bash`.;;
37 *) truescip-shell system . . true.;
38 esac
39 } # end of config_X
40 #
41
42 #
43 ask_and_load_lang_set
44
45 #
46 config_Xscip-shell shell shell-project 0.0.0 config_X().