summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cli_new.c2
-rw-r--r--src/commit.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/cli_new.c b/src/cli_new.c
index 52a03d3..07f0697 100644
--- a/src/cli_new.c
+++ b/src/cli_new.c
@@ -215,7 +215,7 @@ void di(vtw_sorted *srtp)
printf("%u %u\n", i, *(unsigned int *)(srtp->ptrs[i]));
}
-#define LOCK_FILE "/var/lock/vyatta_cfg_lock"
+#define LOCK_FILE "/opt/vyatta/config/.lock"
static void
release_config_lock()
diff --git a/src/commit.c b/src/commit.c
index 9aafedd..0d029f0 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -1360,6 +1360,9 @@ static int fin_commit(boolean ok)
system(command);
my_free(command);
+ /* notify other users in config mode */
+ system("/opt/vyatta/sbin/vyatta-cfg-notify");
+
return 0;
}