diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-04 00:53:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-04 00:53:01 +0100 |
commit | e10fd8ee224cab21519d88aa527793b2e2fba6bf (patch) | |
tree | a9ad674a736f71d96cad1c0d5e6e05c8a3cbbae5 | |
parent | 47be1d91e3fd6e4fc5a35208638a9edc2c3a0dd4 (diff) |
create user
-rw-r--r-- | package/dhcp-forwarder/files/dhcp-forwarder.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/dhcp-forwarder/files/dhcp-forwarder.postinst b/package/dhcp-forwarder/files/dhcp-forwarder.postinst index 9ba16f5b0..c08fed4f3 100644 --- a/package/dhcp-forwarder/files/dhcp-forwarder.postinst +++ b/package/dhcp-forwarder/files/dhcp-forwarder.postinst @@ -1,3 +1,6 @@ #!/bin/sh . $IPKG_INSTROOT/etc/functions.sh +gid=$(get_next_gid) +add_group dhcp-fwd $gid +add_user dhcp-fwd $(get_next_uid) $gid /tmp add_rcconf dhcp_fwd dhcp_fwd NO |