mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-03-13 22:12:35 +03:00
Add parametr -p for mkdir
This commit is contained in:
@@ -30,7 +30,7 @@ opkg upgrade luci-app-youtubeUnblock
|
||||
if [ ! -d "$DIR_BACKUP" ]
|
||||
then
|
||||
echo "Backup files..."
|
||||
mkdir $DIR_BACKUP
|
||||
mkdir -p $DIR_BACKUP
|
||||
for file in $config_files
|
||||
do
|
||||
cp -f "$DIR/$file" "$DIR_BACKUP/$file"
|
||||
|
||||
Reference in New Issue
Block a user