This repository has been archived on 2023-05-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
neo/deploy-tools.sh
2022-12-13 13:46:08 +01:00

16 lines
No EOL
230 B
Bash
Executable file

#!/bin/sh
if (( $EUID != 0 )); then
echo "Please run as root"
exit
fi
case $1 in
router)
cp tools/router.sh /usr/local/bin/router.sh
;;
repo)
mkdir /docker
cp * .* /docker
;;
esac