Rev 99 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 99 | Rev 120 | ||
---|---|---|---|
Line 103... | Line 103... | ||
103 | cat <<"EOF" >"$LSHD_DEFAULTS" |
103 | cat <<"EOF" >"$LSHD_DEFAULTS" |
104 | # Configuration file generated by lsh-server.postinst. |
104 | # Configuration file generated by lsh-server.postinst. |
105 | # You can change the lsh-server configuration either by editing |
105 | # You can change the lsh-server configuration either by editing |
106 | # this file, or by running dpkg-reconfigure lsh-server. |
106 | # this file, or by running dpkg-reconfigure lsh-server. |
107 | # |
107 | # |
- | 108 | # If systemd is used, this file is read as an environment file and can |
|
- | 109 | # only contain environment variable assignments. |
|
108 | EOF |
110 | EOF |
109 | 111 | ||
110 | echo "LSHD_PORT=\"$LSHD_PORT\"" >>"$LSHD_DEFAULTS" |
112 | echo "LSHD_PORT=\"$LSHD_PORT\"" >>"$LSHD_DEFAULTS" |
111 | echo "ENABLE_SFTP=\"$ENABLE_SFTP\"" >> "$LSHD_DEFAULTS" |
113 | echo "ENABLE_SFTP=\"$ENABLE_SFTP\"" >> "$LSHD_DEFAULTS" |
112 | echo "EXTRA_ARGS=\"$EXTRA_ARGS\"" >> "$LSHD_DEFAULTS" |
114 | echo "EXTRA_ARGS=\"$EXTRA_ARGS\"" >> "$LSHD_DEFAULTS" |