Hallo,
ich hatte vor einiger Zeit mal angeregt, die busybox um die o.a. Funktionen zu erweitern. In der Zwischenzeit habe ich das selbst gemacht und möchte allen Interessierten diesen kleinen Patch zur Verfügung stellen.
Damit werden diese Funktionen in der busybox eingeschaltet, man muss halt nochmal lokal kompilieren und die busybox neu installieren.
--- .config.orig 2015-08-27 09:37:26.206915730 +0200
+++ .config 2015-08-30 08:52:41.000000000 +0200
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.23.2
-# Tue Aug 18 01:55:31 2015
+# Sun Aug 30 08:52:41 2015
#
CONFIG_HAVE_DOT_CONFIG=y
@@ -596,8 +596,8 @@
CONFIG_LOSETUP=y
CONFIG_LSPCI=y
CONFIG_LSUSB=y
-# CONFIG_MKSWAP is not set
-# CONFIG_FEATURE_MKSWAP_UUID is not set
+CONFIG_MKSWAP=y
+CONFIG_FEATURE_MKSWAP_UUID=y
CONFIG_MORE=y
CONFIG_MOUNT=y
# CONFIG_FEATURE_MOUNT_FAKE is not set
@@ -616,9 +616,9 @@
# CONFIG_SCRIPT is not set
# CONFIG_SCRIPTREPLAY is not set
# CONFIG_SETARCH is not set
-# CONFIG_SWAPONOFF is not set
-# CONFIG_FEATURE_SWAPON_DISCARD is not set
-# CONFIG_FEATURE_SWAPON_PRI is not set
+CONFIG_SWAPONOFF=y
+CONFIG_FEATURE_SWAPON_DISCARD=y
+CONFIG_FEATURE_SWAPON_PRI=y
CONFIG_SWITCH_ROOT=y
CONFIG_UMOUNT=y
CONFIG_FEATURE_UMOUNT_ALL=y
@@ -1036,7 +1036,7 @@
#
CONFIG_SYSLOGD=y
CONFIG_FEATURE_ROTATE_LOGFILE=y
-# CONFIG_FEATURE_REMOTE_LOG is not set
+CONFIG_FEATURE_REMOTE_LOG=y
CONFIG_FEATURE_SYSLOGD_DUP=y
# CONFIG_FEATURE_SYSLOGD_CFG is not set
CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256
Anzuwenden auf busybox/src/.config
Schöne Grüße aus Wien
BobW