This commit is contained in:
Luk Lu
2021-11-04 20:53:06 +08:00
parent 5bba6d1cfa
commit 3a8bfbe034
2 changed files with 18 additions and 8 deletions

View File

@@ -1,12 +1,11 @@
#!/bin/bash
echo "Usage: setup.sh [Config-Source-Path] [User-Home-Path]"
echo "---------------------------------------------"
if [ $1 ]
then
SourcePath=$1
else
echo "Usage: setup.sh [Config-Source-Path] [User-Home-Path]"
echo "---------------------------------------------"
read -p "Enter config source path (leave blank for [Users/luk.lu]/faronear/fon/sysconfig/home) >> " SourcePath
if [ ! $SourcePath ]
then