X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Fconfig.html;h=9caf3bb3a8320709c37c3f0a6c82a32ba71b4597;hb=0393935877eebdd5bc0932d5ba0ef030bc46d167;hp=49be7200b60b9d20a85f949334688f353b157bff;hpb=51984ac3d3da3006809c6866fdecd4ad83610731;p=freeside.git diff --git a/httemplate/docs/config.html b/httemplate/docs/config.html index 49be7200b..9caf3bb3a 100644 --- a/httemplate/docs/config.html +++ b/httemplate/docs/config.html @@ -3,6 +3,7 @@
DBI:Pg:host=localhost;dbname=freeside dbusername dbpassword-
radius.isp.tld radius_db radius_user passw0rd
". Note that to use ICRADIUS export you need to be using MySQL.
- $ip
, $nasip
and $nasfqdn
, which are the IP address of the starting session, and the IP address and fully-qualified domain name of the NAS this session is on.
- $ip
, $nasip
and $nasfqdn
, which are the IP address of the starting session, and the IP address and fully-qualified domain name of the NAS this session is on.
- useradd -d $dir -m -s $shell -u $uid $username
is the default. If the file exists but is empty, cp -pr /etc/skel $dir; chown -R $uid.$gid $dir
is the default instead. Otherwise the contents of the file are treated as a double-quoted perl string, with the following variables available: $username
, $uid
, $gid
, $dir
, and $shell
.
- userdel $username
is the default. If the file exists but is empty, rm -rf $dir
is the default instead. Otherwise the contents of the file are treated as a double-quoted perl string, with the following variables available: $username
and $dir
.
- [ -d $old_dir ] && mv $old_dir $new_dir || ( chmod u+t $old_dir; mkdir $new_dir; cd $old_dir; find . -depth -print | cpio -pdm $new_dir; chmod u-t $new_dir; chown -R $uid.$gid $new_dir; rm -rf $old_dir )
is the default. Otherwise the contents of the file are treated as a double-quoted perl string, with the following variables available: $old_dir
, $new_dir
, $uid
and $gid
.
- mkdir /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=freeside ++