epush
This commit is contained in:
1 parent
53877f7b6e
commit
377c4b0eb5
2 files changed
+48
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ $(/usr/bin/id -u) != 0 ]; then
|
||||
printf "${0} must be run as root\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
WORKING_DIR=$(pwd)
|
||||
|
||||
printf "parsing install.conf\n"
|
||||
if [ -f "${WORKING_DIR}/install.conf" ]; then
|
||||
source ${WORKING_DIR}/install.conf
|
||||
else
|
||||
printf "${WORKING_DIR}/install.conf does not exist\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case ${1} in
|
||||
install)
|
||||
printf "installing...\n"
|
||||
Reference in new issue
Block a user