mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 11:04:29 +05:00
fix: stop/start dwc service when updating
This commit is contained in:
@@ -33,14 +33,14 @@ update_klipper(){
|
||||
}
|
||||
|
||||
update_dwc2fk(){
|
||||
stop_klipper
|
||||
stop_dwc
|
||||
bb4u "dwc2"
|
||||
if [ ! -d $DWC2FK_DIR ]; then
|
||||
cd ${HOME} && git clone $DWC2FK_REPO
|
||||
else
|
||||
cd $DWC2FK_DIR && git pull
|
||||
fi
|
||||
start_klipper
|
||||
start_dwc
|
||||
}
|
||||
|
||||
update_dwc2(){
|
||||
|
||||
Reference in New Issue
Block a user