diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-10-21 07:45:48 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-10-21 07:45:48 +0000 |
commit | 7e9df2411fedb36946f61d34907d7132576f1dea (patch) | |
tree | c53a97a35e2b26efb604952c2cb05b7dd65a4fe4 /net-dialup/freeradius/files | |
parent | Fix typo in init script (#152191). Stable on x86 and amd64. (diff) | |
download | gentoo-2-7e9df2411fedb36946f61d34907d7132576f1dea.tar.gz gentoo-2-7e9df2411fedb36946f61d34907d7132576f1dea.tar.bz2 gentoo-2-7e9df2411fedb36946f61d34907d7132576f1dea.zip |
create /var/run/radiusd directory if not exist
(Portage version: 2.1.1)
Diffstat (limited to 'net-dialup/freeradius/files')
-rw-r--r-- | net-dialup/freeradius/files/radius.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-dialup/freeradius/files/radius.init b/net-dialup/freeradius/files/radius.init index dbbb527c8ed8..75392c846058 100644 --- a/net-dialup/freeradius/files/radius.init +++ b/net-dialup/freeradius/files/radius.init @@ -14,7 +14,7 @@ checkconfig() { return 1 fi - if [[ ! -d /var/run/radiusd ]] ; then + if [[ ! -d /var/run/radiusd ]] && ! mkdir /var/run/radiusd ; then eerror "Failed to create /var/run/radiusd" return 1 fi |