diff options
Diffstat (limited to 'package/openssh/ipkg/openssh-server.postinst')
-rw-r--r-- | package/openssh/ipkg/openssh-server.postinst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/openssh/ipkg/openssh-server.postinst b/package/openssh/ipkg/openssh-server.postinst new file mode 100644 index 000000000..e14a2b0b9 --- /dev/null +++ b/package/openssh/ipkg/openssh-server.postinst @@ -0,0 +1,5 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +add_user sshd $(get_next_uid) $(get_next_gid) /var/run/sshd +add_group sshd $(get_next_gid) +add_rcconf 'use "NO" to disable always, "AUTO" if dropbear is on' openssh AUTO |