aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorBrad <brad@comstyle.com>2011-09-02 16:53:28 -0400
committerBlue Swirl <blauwirbel@gmail.com>2011-09-03 17:45:48 +0000
commite2d8830efcddfde6cb46404ec00785e52b514fa2 (patch)
tree21eebb9b871d758f4c4c7701b1b1d960ef159ce5 /net.h
parent541dc0d47f10973c241e9955afc2aefc96adec51 (diff)
Allow overriding the location of Samba's smbd.
Allow overriding the location of Samba's smbd. Pretty much every OS I look at has some means of changing this path (patching) so lets just make it easier for OS developers creating packages and/or end users to override the location. Signed-off-by: Brad Smith <brad@comstyle.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'net.h')
-rw-r--r--net.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net.h b/net.h
index 5a7881cf67..9f633f8432 100644
--- a/net.h
+++ b/net.h
@@ -174,11 +174,6 @@ int do_netdev_del(Monitor *mon, const QDict *qdict, QObject **ret_data);
#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
-#ifdef __sun__
-#define SMBD_COMMAND "/usr/sfw/sbin/smbd"
-#else
-#define SMBD_COMMAND "/usr/sbin/smbd"
-#endif
void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd);