No redirect to /dev/null in RPM scripts
This commit is contained in:
parent
23ef1a02c3
commit
1709df3867
@ -2,5 +2,5 @@ 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
|
||||
systemctl enable ztncui
|
||||
systemctl start ztncui
|
||||
|
@ -1 +1 @@
|
||||
systemctl daemon-reload > /dev/null 2>&1
|
||||
systemctl daemon-reload
|
||||
|
@ -1,2 +1,2 @@
|
||||
systemctl stop ztncui > /dev/null 2>&1
|
||||
systemctl disable ztncui > /dev/null 2>&1
|
||||
systemctl stop ztncui
|
||||
systemctl disable ztncui
|
||||
|
Loading…
Reference in New Issue
Block a user