Commit 78f12cd4 by source_reader

added piwiz

parent 8047b9cc
Showing with 17 additions and 2 deletions
......@@ -70,6 +70,21 @@ cd /home/pi
ls -A | grep ^'\.' | grep -Ev ".bashrc|.bash_logout|.local|.profile" | xargs rm -rf
cd /root
ls -A | grep ^'\.' | grep -Ev ".bashrc|.profile|.vnc" | xargs rm -rf
echo "8] Enabling piwiz"
cat > /etc/xdg/autostart/piwiz.desktop <<EOF
[Desktop Entry]
Type=Application
Name=Raspberry Pi First-Run Wizard
Name[en_GB]=Raspberry Pi First-Run Wizard
GenericName=Raspberry Pi First-Run Wizard
GenericName[en_GB]=Raspberry Pi First-Run Wizard
Comment=Configure Raspberry Pi system on first run
Comment[en_GB]=Configure Raspberry Pi system on first run
Icon=rpi
Exec=sudo piwiz
NotShowIn=GNOME;XFCE;
StartupNotify=true
Categories=Settings;DesktopSettings;GTK;X-LXDE-Settings;
EOF
echo "ALL DONE! Remember to remove the puppet directory!!"
echo "ALL DONE! Remember to remove the puppet directory!!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment