projects
/
carnet-tools-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
834810a
)
r64: Greskom zamijenjena imena cp_*backup* funkcija.
author
Zoran Dzelajlija
<Zoran.Dzelajlija@CARNet.hr>
Sat, 30 Apr 2005 02:46:20 +0000
(
02:46
+0000)
committer
Zoran Dzelajlija
<Zoran.Dzelajlija@CARNet.hr>
Sat, 30 Apr 2005 02:46:20 +0000
(
02:46
+0000)
functions.sh
patch
|
blob
|
history
diff --git
a/functions.sh
b/functions.sh
index
19116f8
..
75014f0
100644
(file)
--- a/
functions.sh
+++ b/
functions.sh
@@
-137,12
+137,12
@@
cp_get_netaddr() {
CP_ECHO_RETURN="$echo_return"
}
-# by ico, Tue, 15 Mar 2005 14:04:21 +0100
-cp_backup_conffile() {
- cp_check_and_backup "$@"
+cp_check_and_backup() {
+ cp_backup_conffile -r "$@"
}
-cp_check_and_backup() {
+# by ico, Tue, 15 Mar 2005 14:04:21 +0100
+cp_backup_conffile() {
[ "$CP_SCRIPT_DEBUG" ] && set -vx
local file_bak check did