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