mirror of
https://github.com/netfun2000/rttys_zhaojh329.git
synced 2026-02-27 09:53:24 +08:00
fd80dbe988
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
16 lines
266 B
Bash
Executable File
16 lines
266 B
Bash
Executable File
#!/bin/sh
|
|
|
|
update-rc.d rttys remove
|
|
|
|
which rttys > /dev/null && rm `which rttys`
|
|
cp ../../../../bin/rttys /usr/local/sbin/
|
|
cp rttys.init /etc/init.d/rttys
|
|
|
|
rm -rf /etc/rttys
|
|
|
|
mkdir /etc/rttys
|
|
cp rtty.crt /etc/rttys
|
|
cp rtty.key /etc/rttys
|
|
|
|
update-rc.d rttys defaults
|