diff options
author | fjoe <fjoe@FreeBSD.org> | 2010-11-08 12:47:44 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2010-11-08 12:47:44 +0800 |
commit | b3367bf7e51b176203a9fdaba41b34aaefde94a4 (patch) | |
tree | aa00096ead51f1622996abc60714d9b2f36e9ce0 /Mk/bsd.commands.mk | |
parent | e9909d949fe21d068d7978311b897f6111b74a40 (diff) | |
download | freebsd-ports-gnome-b3367bf7e51b176203a9fdaba41b34aaefde94a4.tar.gz freebsd-ports-gnome-b3367bf7e51b176203a9fdaba41b34aaefde94a4.tar.zst freebsd-ports-gnome-b3367bf7e51b176203a9fdaba41b34aaefde94a4.zip |
Document how to use "sudo" instead of "su" in SU_CMD.
Approved by: pav
Diffstat (limited to 'Mk/bsd.commands.mk')
-rw-r--r-- | Mk/bsd.commands.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk index 08f568336d21..b63df72508c6 100644 --- a/Mk/bsd.commands.mk +++ b/Mk/bsd.commands.mk @@ -78,6 +78,8 @@ SETENV?= /usr/bin/env SH?= /bin/sh SORT?= /usr/bin/sort STRIP_CMD?= /usr/bin/strip +# Command to run commands as privileged user +# Example: "/usr/local/bin/sudo sh -c" to use "sudo" instead of "su" SU_CMD?= /usr/bin/su root -c SYSCTL?= /sbin/sysctl TAIL?= /usr/bin/tail |