Skip to content

Commit 108974d

Browse files
yagoplxactions-user
authored andcommitted
[auto] ci: run beautysh
1 parent 20a0344 commit 108974d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

routertools

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -287,19 +287,19 @@ resetcfg(){
287287
# Resets all configuration in /etc/routertools.d
288288
checksu || crit_error "You must be root to execute this function."
289289

290-
if [[ -d /etc/routertools.d ]]; then
291-
echo "This will delete EVERYTHING under /etc/routertools.d"
292-
echo "Are you sure you want to do this?"
293-
echo "[Enter-> Continue] [Ctrl+C-> Cancel]"
294-
295-
# "enter" detection
296-
read x
297-
unset x
298-
299-
rm -r /etc/routertools.d
300-
fi
301-
302-
echo "Initializing configuration..."
290+
if [[ -d /etc/routertools.d ]]; then
291+
echo "This will delete EVERYTHING under /etc/routertools.d"
292+
echo "Are you sure you want to do this?"
293+
echo "[Enter-> Continue] [Ctrl+C-> Cancel]"
294+
295+
# "enter" detection
296+
read x
297+
unset x
298+
299+
rm -r /etc/routertools.d
300+
fi
301+
302+
echo "Initializing configuration..."
303303
initfs
304304
initfs_daemon_cfg
305305
return $?

0 commit comments

Comments
 (0)