chiark / gitweb /
use the switch_root function in shutdown
authorHarald Hoyer <harald@redhat.com>
Thu, 21 Aug 2014 14:21:26 +0000 (16:21 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 28 Aug 2014 13:25:15 +0000 (15:25 +0200)
commit5a4bf02ff57e4dd3453f2b868c72fe45f60033a3
tree2dfa5385d7af4ad0e8cc040a0a46807e103387c1
parent667a0377fb25ddb0c3efbc43d186ffd4c097ce41
use the switch_root function in shutdown

removes code duplication

also move switch-root to shared
Makefile.am
src/core/main.c
src/core/shutdown.c
src/shared/switch-root.c [moved from src/core/switch-root.c with 81% similarity]
src/shared/switch-root.h [moved from src/core/switch-root.h with 88% similarity]