summaryrefslogtreecommitdiffstats
path: root/testModule/hooks/pre-pivot.sh
diff options
context:
space:
mode:
authortorben2015-04-17 02:41:03 +0200
committertorben2015-04-17 02:41:03 +0200
commit42f795dfb50b8e78fc8ce05b86e4e0f821f766f0 (patch)
tree0832855f278a7ec810993f6803435d7abed43ccb /testModule/hooks/pre-pivot.sh
parentHook name fix. (diff)
downloadsystemd-init-42f795dfb50b8e78fc8ce05b86e4e0f821f766f0.tar.gz
systemd-init-42f795dfb50b8e78fc8ce05b86e4e0f821f766f0.tar.xz
systemd-init-42f795dfb50b8e78fc8ce05b86e4e0f821f766f0.zip
Alles versucht :-((
Diffstat (limited to 'testModule/hooks/pre-pivot.sh')
-rwxr-xr-xtestModule/hooks/pre-pivot.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/testModule/hooks/pre-pivot.sh b/testModule/hooks/pre-pivot.sh
index 3326fae7..fcc6a977 100755
--- a/testModule/hooks/pre-pivot.sh
+++ b/testModule/hooks/pre-pivot.sh
@@ -1,4 +1,8 @@
-# TODO
-warn '............PRE-PIVOT.............'
-#mount /dev/nbd0 /sysroot/TEST
-# strace -ff -o /sysroot/log.txt -p PID
+if [ $PRE_PIVOT_READY ]; then
+ warn '............PRE-PIVOT ALREADY DONE.............'
+else
+ export PRE_PIVOT_READY=true
+ warn '............PRE-PIVOT.............'
+ #mount /dev/nbd0 /sysroot/TEST/
+ # strace -ff -o /sysroot/log.txt -p PID
+fi