source: freewrt/package/openssh/ipkg/openssh-server.postinst@ 7233c03

freewrt_1_0 freewrt_2_0
Last change on this file since 7233c03 was 7233c03, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago
  • add a separate sshd user
  • use the new uid/gid functions
  • rename init script,standardize

git-svn-id: svn://www.freewrt.org/trunk/freewrt@291 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 161 bytes
Line 
1#!/bin/sh
2. $IPKG_INSTROOT/etc/functions.sh
3add_user sshd $(get_next_uid) $(get_next_gid) /var/run/sshd
4add_group sshd $(get_next_gid)
5add_rcconf sshd "sshd=NO"
Note: See TracBrowser for help on using the repository browser.