Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[systemd] package all systemd files in their own section, add rescue …
…mode Systemd files packaging goes in its own section (so it can be easily ignored) Rescue mode files for systemd go in an own package so it can be easily used. Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
- Loading branch information
1 parent
0ae9ae7
commit 3d0be03
Showing
5 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
# Copyright (C) 2013 Jolla Oy | ||
# Contact: Pekka Lundstrom <pekka.lundstrom@jollamobile.com> | ||
# | ||
# This gets run at the end of the boot and informs usb-moded | ||
# that rescue mode can be turned off | ||
|
||
dbus-send --system --type=method_call --print-reply --dest=com.meego.usb_moded /com/meego/usb_moded com.meego.usb_moded.rescue_off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Start in rescue mode | ||
USB_MODED_ARGS=-r |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (C) 2013 Jolla Oy | ||
# Contact: Pekka Lundstrom <pekka.lundstrom@jollamobile.com> | ||
# | ||
# Turn usb-moded rescue mode off | ||
|
||
[Unit] | ||
Description=Turn usb-moded rescue mode off | ||
After=init-done.service | ||
|
||
[Service] | ||
Type=oneshot | ||
RemainAfterExit=yes | ||
ExecStart=/usr/bin/turn-usb-rescue-mode-off | ||
|
||
[Install] | ||
WantedBy=graphical.target |