Skip to content

Commit

Permalink
Only making success handler act if a restore file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
wallentx authored and robert-ancell committed Jun 10, 2024
1 parent f58ca1f commit f50ba25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/lightdm-success-handler.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ After=lightdm.service

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'test -f /etc/issue.restore && mv /etc/issue.restore /etc/issue || echo -e "Linux \\\\r (\\\\l)\n\n" > /etc/issue'
ExecStart=/bin/sh -c 'test -f /etc/issue.restore && mv /etc/issue.restore /etc/issue || echo "File /etc/issue.restore not found. No restore action needed."'

[Install]
WantedBy=graphical.target

0 comments on commit f50ba25

Please sign in to comment.