This file contains 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
# .bash_profile is executed for login shells, | |
# .bashrc is executed for interactive non-login shells. | |
# We want the same behaviour for both, so we source .bashrc from .bash_profile. | |
# Also, when .bash_profile exists, bash ignores .profile, so we have to source | |
# it explicitly. | |
if [ -f "$HOME/.profile" ]; then | |
. "$HOME/.profile" | |
fi |
This file contains 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
rem This script reconfigures the Cygwin sshd service. | |
rem It regenerates the computer's host keys. This is necessary | |
rem when Sysprep is run and a new SID is generated. | |
@echo off | |
echo Stopping the Cygwin sshd service... | |
net stop sshd | |
echo ERRORLEVEL: %ERRORLEVEL% |
NewerOlder