summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-01-20 15:07:00 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-01-20 15:07:00 -0500
commit2850f1a0d09ad750b0e44763dfe0ad2e6c6746d7 (patch)
treed1df8aa34baed7d1c6da7b82a4a4541f6c1242c1 /etc/sshd
parentbfaca65530f9ff9eb82279cc497ee2552f48161e (diff)
downloadpfsense-2850f1a0d09ad750b0e44763dfe0ad2e6c6746d7.zip
pfsense-2850f1a0d09ad750b0e44763dfe0ad2e6c6746d7.tar.gz
Use $g['product_name']
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/sshd b/etc/sshd
index 0bbe3d3..8b71219 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -149,7 +149,7 @@
if (!file_exists("$sshConfigDir/ssh_host_key") or file_exists("/etc/keys_generating")) {
/* remove previous keys and regen later */
- file_notice("SSH", "pfSense has started creating your SSH keys. SSH Startup will be delayed. Please note that reloading the filter rules and changes will be delayed until this operation is completed.", "SSH KeyGen", "");
+ file_notice("SSH", "{$g['product_name']} has started creating your SSH keys. SSH Startup will be delayed. Please note that reloading the filter rules and changes will be delayed until this operation is completed.", "SSH KeyGen", "");
conf_mount_rw();
mwexec("rm /etc/ssh/ssh_host_*");
touch("/etc/keys_generating");
@@ -160,7 +160,7 @@
system("/usr/bin/nice -n20 /usr/bin/ssh-keygen -t dsa -N '' -f $sshConfigDir/ssh_host_dsa_key");
unlink("/etc/keys_generating");
unlink("/tmp/keys_generating");
- file_notice("SSH", "pfSense has completed creating your SSH keys. SSH is now started.", "SSH Startup", "");
+ file_notice("SSH", "{$g['product_name']} has completed creating your SSH keys. SSH is now started.", "SSH Startup", "");
echo "Starting SSH... ";
}
OpenPOWER on IntegriCloud