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 committed Apr 5, 2024
1 parent e0483c1 commit 0c3b360
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 0c3b360

Please sign in to comment.