No redirect to /dev/null in RPM scripts

This commit is contained in:
Key Networks 2018-01-09 19:48:39 +08:00
parent 23ef1a02c3
commit 1709df3867
3 changed files with 5 additions and 5 deletions

View File

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

View File

@ -1 +1 @@
systemctl daemon-reload > /dev/null 2>&1 systemctl daemon-reload

View File

@ -1,2 +1,2 @@
systemctl stop ztncui > /dev/null 2>&1 systemctl stop ztncui
systemctl disable ztncui > /dev/null 2>&1 systemctl disable ztncui