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

17 lines
No EOL
245 B
Bash

#!/bin/sh
if [ ! "$UID" = "0" ]; then
echo "# script must be ran as root"
exit 1
fi
case $1 in
router)
cp tools/router.sh /usr/local/bin/router.sh
;;
repo)
mkdir /docker
cp * .* /docker
;;
esac