Rev 62 | Rev 75 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 62 | Rev 74 | ||
|---|---|---|---|
| Line 131... | Line 131... | ||
| 131 | LSH_SERVER_CONFIG_GENERATED | 131 | LSH_SERVER_CONFIG_GENERATED | 
| 132 | # Generated by lsh-server.postinst | 132 | # Generated by lsh-server.postinst | 
| 133 | # Please don't remove this file unless you have first disabled lsh, and don't | 133 | # Please don't remove this file unless you have first disabled lsh, and don't | 
| 134 | # change the first line ... otherwise lsh-server won't recognise it!!! | 134 | # change the first line ... otherwise lsh-server won't recognise it!!! | 
| 135 | EOF | 135 | EOF | 
| - | 136 | ||
| - | 137 | if [ -x "/etc/init.d/ssh" ]; then | |
| - | 138 | if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then | |
| - | 139 | invoke-rc.d ssh stop || true | |
| - | 140 | else | |
| - | 141 | /etc/init.d/ssh stop || true | |
| - | 142 | fi | |
| - | 143 | fi | |
| 136 | fi | 144 | fi | 
| 137 | fi | 145 | fi | 
| 138 | 146 | ||
| 139 | create_seed_and_key | 147 | create_seed_and_key | 
| 140 | ;; | 148 | ;; |