diff options
Diffstat (limited to 'server/bin/setsmbpass')
-rwxr-xr-x | server/bin/setsmbpass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/bin/setsmbpass b/server/bin/setsmbpass index 4e478c54..f681196b 100755 --- a/server/bin/setsmbpass +++ b/server/bin/setsmbpass @@ -26,12 +26,12 @@ INITRD=oginitrd.img TMPDIR=/tmp/oglive$$ let CHANGES=0 -source /tmp/ogfunctions.sh || exit 1 +source $OPENGNSYS/lib/ogfunctions.sh || exit 1 # Control de parĂ¡metros. [ "$*" == "help" ] && help [ "$*" == "version" ] && version -[ "$USER" != "root" ] && raiseError access "Debe ser root" +[ "$USER" != "root" ] && raiseError access "Solo ejecutable por root" case $# in 0) # Cambios en todos los clientes ogLive instalados. if which oglivecli &>/dev/null; then |