mirror of
https://github.com/linuxserver/docker-smokeping.git
synced 2026-04-13 00:04:22 +08:00
Faster\Cleaner Code
This commit is contained in:
parent
1598543b43
commit
3ebaefbf29
@ -1,8 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f /config/Targets ]; then
|
||||
exit 0
|
||||
else
|
||||
cp /tmp/Targets /config/
|
||||
if [ ! -f /config/Targets ]; then
|
||||
cp /tmp/Targets /config/Targets
|
||||
chown abc:abc /config/Targets
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user