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:47:56 +01:00

16 lines
No EOL
234 B
Bash
Executable file

#!/bin/sh
if [ "$(id -u)" -ne 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