This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| BASENAME="$(dirname $0)" | |
| pw="EDIT_ME" | |
| # Set to 1 to only back up the samba/account files and log diagnostics, | |
| # without changing anything on the unit. | |
| dryrun=0 | |
| # Instructions: | |
| # * Edit the samba pw (pw=) field. Leave it empty (pw="") to keep the existing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2322839/hack.sh | sh | |
| # |