diff options
| author | torben | 2015-04-17 02:41:03 +0200 |
|---|---|---|
| committer | torben | 2015-04-17 02:41:03 +0200 |
| commit | 42f795dfb50b8e78fc8ce05b86e4e0f821f766f0 (patch) | |
| tree | 0832855f278a7ec810993f6803435d7abed43ccb /testModule/hooks/pre-pivot.sh | |
| parent | Hook name fix. (diff) | |
| download | systemd-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-x | testModule/hooks/pre-pivot.sh | 12 |
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 |
