source:
lliurex-up/trunk/fuentes/lliurex-up-core/usr/share/lliurex-up/commonScripts/alternative-update-initramfs
@
3018
Last change on this file since 3018 was 3018, checked in by , 4 years ago | |
---|---|
|
|
File size: 236 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | ACTION="$1" |
3 | case "$ACTION" in |
4 | preActions) |
5 | DEST=$(which update-initramfs) |
6 | mount --bind /usr/lib/lliurex-up/update-initramfs-alternative $DEST |
7 | ;; |
8 | postActions) |
9 | DEST=$(which update-initramfs) |
10 | umount "$DEST" |
11 | ;; |
12 | esac |
Note: See TracBrowser
for help on using the repository browser.