Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
puppet
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
78f12cd4
authored
May 29, 2019
by
source_reader
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
added piwiz
parent
8047b9cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
rpi_cleanup.sh
rpi_cleanup.sh
View file @
78f12cd4
...
...
@@ -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!!"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment