Correcting typos and update the install script
This commit is contained in:
parent
02db459913
commit
7e962bd4f5
@ -54,7 +54,7 @@
|
|||||||
"mac_address": "Adresse MAC :",
|
"mac_address": "Adresse MAC :",
|
||||||
"high": "elevee",
|
"high": "elevee",
|
||||||
"moderate": "moyenne",
|
"moderate": "moyenne",
|
||||||
"low": "base"
|
"low": "basse"
|
||||||
},
|
},
|
||||||
"wifi-select": {
|
"wifi-select": {
|
||||||
"already_connected_question": "Vous semblez être connecté à un réseau.<br />Voulez-vous utiliser cette connexion ?",
|
"already_connected_question": "Vous semblez être connecté à un réseau.<br />Voulez-vous utiliser cette connexion ?",
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-else class="none-wrapper">
|
<div v-else class="none-wrapper">
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<h1 class="warning-title">{{ $t("report.fine_msg") }}</h1>
|
<h1 class="warning-title"v-html="$t("report.fine_msg")"></h1>
|
||||||
<button class="btn btn-report-low-light" v-on:click="save_capture()">{{ $t("report.save_capture") }}</button>
|
<button class="btn btn-report-low-light" v-on:click="save_capture()">{{ $t("report.save_capture") }}</button>
|
||||||
<button class="btn btn-report-low" v-on:click="new_capture()">{{ $t("report.start_new_capture") }}</button>
|
<button class="btn btn-report-low" v-on:click="new_capture()">{{ $t("report.start_new_capture") }}</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -41,10 +41,10 @@ backend:
|
|||||||
frontend:
|
frontend:
|
||||||
shutdown_option: false
|
shutdown_option: false
|
||||||
reboot_option: false
|
reboot_option: false
|
||||||
quit_option: true
|
quit_option: quitoption
|
||||||
download_links: false
|
download_links: false
|
||||||
hide_mouse: false
|
hide_mouse: hidemouse
|
||||||
kiosk_mode: false
|
kiosk_mode: kioskmode
|
||||||
remote_access: true
|
remote_access: true
|
||||||
sparklines: true
|
sparklines: true
|
||||||
virtual_keyboard: true
|
virtual_keyboard: true
|
||||||
|
18
install.sh
18
install.sh
@ -80,6 +80,23 @@ set_credentials() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_kioskmode() {
|
||||||
|
echo -n " [?] Do you want to start TinyCheck in fullscreen during the system startup (Kiosk mode)? [Yes/No] "
|
||||||
|
read answer
|
||||||
|
if [[ "$answer" =~ ^([yY][eE][sS]|[yY])$ ]]
|
||||||
|
then
|
||||||
|
sed -i "s/kioskmode/true/g" /usr/share/tinycheck/config.yaml
|
||||||
|
sed -i "s/hidemouse/true/g" /usr/share/tinycheck/config.yaml
|
||||||
|
sed -i "s/quitoption/true/g" /usr/share/tinycheck/config.yaml
|
||||||
|
echo -e "\e[92m [✔] TinyCheck setted in Kiosk mode\e[39m"
|
||||||
|
else
|
||||||
|
sed -i "s/kioskmode/false/g" /usr/share/tinycheck/config.yaml
|
||||||
|
sed -i "s/hidemouse/false/g" /usr/share/tinycheck/config.yaml
|
||||||
|
sed -i "s/quitoption/false/g" /usr/share/tinycheck/config.yaml
|
||||||
|
echo -e "\e[92m [✔] TinyCheck setted in default mode, use the desktop icon to launch it.\e[39m"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
create_directory() {
|
create_directory() {
|
||||||
# Create the TinyCheck directory and move the whole stuff there.
|
# Create the TinyCheck directory and move the whole stuff there.
|
||||||
echo -e "[+] Creating TinyCheck folder under /usr/share/"
|
echo -e "[+] Creating TinyCheck folder under /usr/share/"
|
||||||
@ -424,6 +441,7 @@ elif [[ -f /usr/share/tinycheck/config.yaml ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
welcome_screen
|
welcome_screen
|
||||||
|
set_kioskmode
|
||||||
check_operating_system
|
check_operating_system
|
||||||
check_interfaces
|
check_interfaces
|
||||||
create_directory
|
create_directory
|
||||||
|
Loading…
Reference in New Issue
Block a user