diff options
author | jim-p <jimp@pfsense.org> | 2012-06-13 11:31:03 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-06-13 11:31:03 -0400 |
commit | 009fb0dfddcb70d119dec98bcba824f2ca650942 (patch) | |
tree | f5e355a3677b0b67d2c2c9fa773f7c4060dec394 /config | |
parent | ca2a1029c0e325e387c7f5116539646cc8070508 (diff) | |
download | pfsense-packages-009fb0dfddcb70d119dec98bcba824f2ca650942.tar.gz pfsense-packages-009fb0dfddcb70d119dec98bcba824f2ca650942.tar.bz2 pfsense-packages-009fb0dfddcb70d119dec98bcba824f2ca650942.zip |
Generalize this reference
Diffstat (limited to 'config')
-rw-r--r-- | config/quagga_ospfd/quagga_ospfd.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/quagga_ospfd/quagga_ospfd.inc b/config/quagga_ospfd/quagga_ospfd.inc index d62c0efa..831a91b0 100644 --- a/config/quagga_ospfd/quagga_ospfd.inc +++ b/config/quagga_ospfd/quagga_ospfd.inc @@ -242,10 +242,10 @@ EOF; rm -f /var/run/quagga/zebra.pid rm -f /var/run/quagga/ospfd.pid -if [ `pw groupshow quagga 2>&1 | grep -c "pw: unknown group"` -gt 0 ]; then +if [ `pw groupshow {$pkg_group} 2>&1 | grep -c "pw: unknown group"` -gt 0 ]; then /usr/sbin/pw groupadd {$pkg_group} -g {$pkg_gid} fi -if [ `pw usershow quagga 2>&1 | grep -c "pw: no such user"` -gt 0 ]; then +if [ `pw usershow {$pkg_login} 2>&1 | grep -c "pw: no such user"` -gt 0 ]; then /usr/sbin/pw useradd {$pkg_login} -u {$pkg_uid} -g {$pkg_gid} -c "{$pkg_gecos}" -d {$pkg_homedir} -s {$pkg_shell} fi |