aboutsummaryrefslogtreecommitdiff
path: root/toys/other/swapon.c
diff options
context:
space:
mode:
authorPaul Barker <paul@paulbarker.me.uk>2015-04-04 11:58:06 -0500
committerPaul Barker <paul@paulbarker.me.uk>2015-04-04 11:58:06 -0500
commit1dd3704c5ffea926f61a96bb7de7d9dbee52fa44 (patch)
tree96a1882a18c5a1d3be1b06657697207d44c2622a /toys/other/swapon.c
parent08089370c99af7a38d8896c4aa18c6b4bbd5ffc7 (diff)
downloadtoybox-1dd3704c5ffea926f61a96bb7de7d9dbee52fa44.tar.gz
To ensure that toybox can be installed alongside busybox without
confusing update-alternatives, the paths of the links installed by toybox should match those installed by busybox. This is accomplished by changing the flags of a few tools within toybox.
Diffstat (limited to 'toys/other/swapon.c')
-rw-r--r--toys/other/swapon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/swapon.c b/toys/other/swapon.c
index 49f12499..838d382a 100644
--- a/toys/other/swapon.c
+++ b/toys/other/swapon.c
@@ -2,7 +2,7 @@
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
-USE_SWAPON(NEWTOY(swapon, "<1>1p#<0>32767", TOYFLAG_BIN|TOYFLAG_NEEDROOT))
+USE_SWAPON(NEWTOY(swapon, "<1>1p#<0>32767", TOYFLAG_SBIN|TOYFLAG_NEEDROOT))
config SWAPON
bool "swapon"