...
 
Commits (8)
pyra-first-run (0.19) stretch; urgency=medium
pyra-first-run (0.22) unstable; urgency=medium
[ aTc ]
* fix zenity stuff, make shutdown button work
-- Pyra Dev <pyra-dev@pyra-handheld.com> Thu, 17 Oct 2019 23:42:13 +0200
pyra-first-run (0.21) unstable; urgency=medium
[ aTc ]
* add libgtk3-perl dependency
-- Pyra Dev <pyra-dev@pyra-handheld.com> Sat, 12 Oct 2019 19:40:45 +0200
pyra-first-run (0.20) unstable; urgency=medium
[ aTc ]
* Update changelog for 0.19 release
* remove libgnome2-perl dependency
-- Pyra Dev <pyra-dev@pyra-handheld.com> Sat, 12 Oct 2019 10:54:02 +0200
pyra-first-run (0.19) unstable; urgency=medium
[ aTc ]
* pyra-first-run.sh: disable homedir encryption, method likely won't work in next debian version
......
......@@ -10,6 +10,6 @@ Vcs-Browser: http://dev.pyra-handheld.com/index.php/p/pyra-first-run/source/tree
Package: pyra-first-run
Architecture: all
Depends: ${misc:Depends} , pyra-themes, zenity, hsetroot, libgnome2-perl, pyra-scripts, pyra-config-all, x11-xserver-utils
Depends: ${misc:Depends} , pyra-themes, zenity, hsetroot, pyra-scripts, libgtk3-perl, pyra-config-all, x11-xserver-utils
Description: Pyra first run scripts
Sets up user accounts, etc. on the first boot.
#!/bin/sh
export LANG=en_US.UTF-8
export GTK2_RC_FILES=/usr/share/themes/Xfce/gtk-2.0/gtkrc
export GTK2_RC_FILES=/usr/share/themes/Menta/gtk-2.0/gtkrc
export WALLPAPER=/usr/share/pyra/wallpapers/official/pyra-a-720.png
xmodmap /etc/skel/.Xmodmap
hsetroot -cover $WALLPAPER
zenity --question --title="Pyras Box has been opened." --text="Welcome!\n\nPyra's Box has been opened.\n\nThis wizard will help you setting up your $pnd_version OpenPyra handheld before the first use.\n\nYou will be asked a few simple questions to personalise and configure your device.\n\nDo you want to set up your unit now or shut the unit down and do it later?" --ok-label="Start now" --cancel-label="Shutdown"
if ! zenity --question --ellipsize --title="Pyras Box has been opened." --text="Welcome!\n\nPyra's Box has been opened.\n\nThis wizard will help you setting up your $pnd_version OpenPyra handheld before the first use.\n\nYou will be asked a few simple questions to personalise and configure your device.\n\nDo you want to set up your unit now or shut the unit down and do it later?" --ok-label="Start now" --cancel-label="Shutdown" ; then
poweroff
exit
fi
#calibrate touchscreen
......@@ -79,7 +82,7 @@ sed '/^127.0.0.1/d' /etc/hosts.back
# --
# Firewall
if zenity --question --title="Firewall" --text="Enable Firewall ? \n\nIf enabled a firewall is set up to allow incoming ssh traffic, blocking everything else." --ok-label="Yes" --cancel-label="No"; then
if zenity --question --ellipsize --title="Firewall" --text="Enable Firewall ? \n\nIf enabled a firewall is set up to allow incoming ssh traffic, blocking everything else." --ok-label="Yes" --cancel-label="No"; then
ufw allow ssh
ufw enable
else
......