aboutsummaryrefslogtreecommitdiff
path: root/include/applets.h
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-10-27 22:55:50 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-10-27 22:55:50 +0000
commite9b8e427edbf1071f03d694f12afc6d61ad29bf4 (patch)
tree1341f988aa02110b3a997edc52e54bcc27ea1000 /include/applets.h
parente90081f6ed71edd8cbfc579a627e377b3460a02e (diff)
downloadbusybox-w32-e9b8e427edbf1071f03d694f12afc6d61ad29bf4.tar.gz
busybox-w32-e9b8e427edbf1071f03d694f12afc6d61ad29bf4.tar.bz2
busybox-w32-e9b8e427edbf1071f03d694f12afc6d61ad29bf4.zip
Add a switch_root utility (like kconfig's utils/run_init.c, although not
actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.) git-svn-id: svn://busybox.net/trunk/busybox@11935 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/applets.h')
-rw-r--r--include/applets.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index a814ce1b1..883e55990 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -625,6 +625,9 @@
625#ifdef CONFIG_SWAPONOFF 625#ifdef CONFIG_SWAPONOFF
626 APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN, _BB_SUID_NEVER) 626 APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
627#endif 627#endif
628#ifdef CONFIG_SWITCH_ROOT
629 APPLET(switch_root, switch_root_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
630#endif
628#ifdef CONFIG_SYNC 631#ifdef CONFIG_SYNC
629 APPLET(sync, sync_main, _BB_DIR_BIN, _BB_SUID_NEVER) 632 APPLET(sync, sync_main, _BB_DIR_BIN, _BB_SUID_NEVER)
630#endif 633#endif