Skip to content

Commit

Permalink
Missing footer, line ends, cleanup paths
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Jan 24, 2017
1 parent 6314968 commit 77df951
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion config
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
jailkit_config_dir=/etc/jailkit
jk_init_ini=jk_init.ini
1 change: 0 additions & 1 deletion config.info
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
jailkit_config_dir=Path to Jailkit configuration directory,0
jk_init_ini=Path to the jk_init.ini configuration file,0
2 changes: 1 addition & 1 deletion delete_jail.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ else {
#print ui_submit($text{delete_confirm}, "confirm");
print ui_form_end([ [ "confirm", $text{'delete_confirm'} ] ]);
print "</center>\n";
print "</div>\n";
ui_print_footer("");
}
3 changes: 3 additions & 0 deletions help/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
<p>
Jailkit is a set of utilities to limit user accounts to specific files using chroot() and or specific commands. Setting up a chroot shell, a shell limited to some specific command, or a daemon inside a chroot jail is a lot easier and can be automated using these utilities.
</p>
<p>
This module provides a user interface for managing the Jailkit jail configuration file (jk_init.ini). With it, you can create, modify, and delete jail definitions.
</p>
3 changes: 2 additions & 1 deletion jailkit-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ =head2 get_jk_init_ini()
sub get_jk_init_ini {
use Config::IniFiles;

my $jk_init_ini = new Config::IniFiles( -file=>'/etc/jailkit/jk_init.ini');
my $config_file = "$config{'jailkit_config_dir'}/jk_init.ini";
my $jk_init_ini = new Config::IniFiles( -file=>"$config{'jailkit_config_dir'}/jk_init.ini" );
return $jk_init_ini;
}

Expand Down

0 comments on commit 77df951

Please sign in to comment.