ztncui/build/after-install.sh

7 lines
242 B
Bash
Raw Normal View History

ETC='/opt/key-networks/ztncui/etc'
echo "Copying default password file..."
cp -pv $ETC/default.passwd $ETC/passwd
echo "Enabling and starting ztncui service..."
systemctl enable ztncui > /dev/null 2>&1
systemctl start ztncui > /dev/null 2>&1