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 kbut, 3 years ago

add lliurex-up-core folder

  • Property svn:executable set to *
File size: 241 bytes
Line 
1#!/bin/bash
2ACTION="$1"
3set -x
4case "$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        ;;
13esac
Note: See TracBrowser for help on using the repository browser.