summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/setup/newuser3
-rwxr-xr-xsource4/setup/provision3
2 files changed, 4 insertions, 2 deletions
diff --git a/source4/setup/newuser b/source4/setup/newuser
index 1a6fbdde27..5c426e3848 100755
--- a/source4/setup/newuser
+++ b/source4/setup/newuser
@@ -1,4 +1,5 @@
-#!/usr/bin/env smbscript
+#!/bin/sh
+exec smbscript "$0" ${1+"$@"}
/*
add a new user to a Samba4 server
Copyright Andrew Tridgell 2005
diff --git a/source4/setup/provision b/source4/setup/provision
index c516b97f2d..7cd05538b5 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -1,4 +1,5 @@
-#!/usr/bin/env smbscript
+#!/bin/sh
+exec smbscript "$0" ${1+"$@"}
/*
provision a Samba4 server
Copyright Andrew Tridgell 2005