| Revision 2204,
717 bytes
checked in by alanbach-guest, 6 years ago
(diff) |
|
Tagging suspend2-scripts 0.3.0
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | PREREQ="" |
|---|
| 3 | |
|---|
| 4 | prereqs() |
|---|
| 5 | { |
|---|
| 6 | echo "$PREREQ" |
|---|
| 7 | } |
|---|
| 8 | |
|---|
| 9 | case $1 in |
|---|
| 10 | # get pre-requisites |
|---|
| 11 | prereqs) |
|---|
| 12 | prereqs |
|---|
| 13 | exit 0 |
|---|
| 14 | ;; |
|---|
| 15 | esac |
|---|
| 16 | |
|---|
| 17 | . /usr/share/initramfs-tools/hook-functions |
|---|
| 18 | |
|---|
| 19 | if [ -x /usr/lib/suspend2-userui/suspend2ui_text ]; then |
|---|
| 20 | mkdir --parents ${DESTDIR}/usr/sbin 2>/dev/null || true |
|---|
| 21 | copy_exec /usr/lib/suspend2-userui/suspend2ui_text usr/sbin |
|---|
| 22 | fi |
|---|
| 23 | |
|---|
| 24 | if [ -x /usr/lib/suspend2-userui/suspend2ui_usplash ]; then |
|---|
| 25 | mkdir --parents ${DESTDIR}/usr/sbin 2>/dev/null || true |
|---|
| 26 | copy_exec /usr/lib/suspend2-userui/suspend2ui_usplash usr/sbin |
|---|
| 27 | fi |
|---|
| 28 | |
|---|
| 29 | if [ -x /usr/lib/suspend2-userui/suspend2ui_fbsplash ]; then |
|---|
| 30 | mkdir --parents ${DESTDIR}/usr/sbin 2>/dev/null || true |
|---|
| 31 | copy_exec /usr/lib/suspend2-userui/suspend2ui_fbsplash usr/sbin |
|---|
| 32 | fi |
|---|
Note: See
TracBrowser
for help on using the repository browser.