diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-02-22 19:44:02 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-02-22 23:46:17 -0300 |
commit | 60aa7a18575f539ab7f47cf2eff2c7c39beb8e3f (patch) | |
tree | 540da865fe5793355350e2efea5bb561408b9e96 /configs/releng | |
parent | 5123b25aa16f1340c39ff7f0e0c457d0e3653598 (diff) |
[configs/releng] Add /run/aif/ignore_block_devices
This is just a symlink to /run/archiso/used_block_devices
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng')
-rw-r--r-- | configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices b/configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices new file mode 100644 index 0000000..f6b6062 --- /dev/null +++ b/configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices @@ -0,0 +1,7 @@ +symlink_used_block_devices() +{ + mkdir /run/aif + ln -s /run/archiso/used_block_devices /run/aif/ignore_block_devices +} + +add_hook multi_end symlink_used_block_devices |