diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-10-17 00:19:23 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-10-17 00:19:23 -0400 |
commit | aa101029ccd0a67af1adf2e52401b2aad2dbe8c2 (patch) | |
tree | b018adfcdb16feb17ef2ca090ed08a4b4d8d938d /config/anyterm/anyterm.inc | |
parent | c50d96c03aed8bbc2df07205b3edfe6ca6fe2404 (diff) | |
download | pfsense-packages-aa101029ccd0a67af1adf2e52401b2aad2dbe8c2.tar.gz pfsense-packages-aa101029ccd0a67af1adf2e52401b2aad2dbe8c2.tar.bz2 pfsense-packages-aa101029ccd0a67af1adf2e52401b2aad2dbe8c2.zip |
s/conff/conf/
Diffstat (limited to 'config/anyterm/anyterm.inc')
-rw-r--r-- | config/anyterm/anyterm.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/anyterm/anyterm.inc b/config/anyterm/anyterm.inc index 2caee66a..12cf7c2c 100644 --- a/config/anyterm/anyterm.inc +++ b/config/anyterm/anyterm.inc @@ -71,7 +71,7 @@ stop_postcmd="anyterm_stop" load_rc_config \$name anyterm_start () { - if [ -f /var/etc/anyterm.conff ]; then + if [ -f /var/etc/anyterm.conf ]; then if [ `ps awux | grep -v grep | grep anytermd | wc -l` -gt 0 ]; then killall anytermd fi @@ -106,11 +106,11 @@ EOD; exec("chmod a+rx /usr/local/etc/rc.d/anyterm.sh"); // Write out Anyterm configuration file (username and password for auth) - $fd = fopen("/var/etc/anyterm.conff", "w"); + $fd = fopen("/var/etc/anyterm.conf", "w"); fwrite($fd, $config['installedpackages']['anyterm']['config'][0]['username'] . "\n"); fwrite($fd, $config['installedpackages']['anyterm']['config'][0]['password'] . "\n"); fclose($fd); - exec("chmod a-r /var/etc/anyterm.conff ; chmod ug+r /var/etc/anyterm.conff ; killall anytermd"); + exec("chmod a-r /var/etc/anyterm.conf ; chmod ug+r /var/etc/anyterm.conf ; killall anytermd"); exec($anytermd_command); } |