Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos.package
e19e7247e84effd17f984a32eff0db41b74c3848
e19e7247e84effd17f984a32eff0db41b74c3848
Switch branch/tag
slapos.package
playbook
roles
vifib-kernel
files
slapos-trigger-reboot.sh
Find file
Normal view
History
Permalink
slapos-trigger-reboot.sh
96 Bytes
Edit
Web IDE
Newer
Older
playbook: Add trigger script to reboot if it is required
Rafael Monnerat
committed
5 years ago
1
2
3
#!/bin/bash
FILE
=
/opt/upgrader/REBOOT_REQUIRED
playbook: Small syntax fix on the bash script
Rafael Monnerat
committed
5 years ago
4
if
[[
-f
"
$FILE
"
]]
;
playbook: Add trigger script to reboot if it is required
Rafael Monnerat
committed
5 years ago
5
6
7
8
then
rm
$FILE
reboot
fi