modified: chr.sh

This commit is contained in:
elseif 2026-07-09 12:31:45 +08:00
parent 60709c4fd6
commit 1a5647bd98

2
chr.sh
View File

@ -305,7 +305,7 @@ create_autorun() {
/ip address add address=$ADDRESS interface=[/interface ethernet get [find mac-address=$MAC] name] /ip address add address=$ADDRESS interface=[/interface ethernet get [find mac-address=$MAC] name]
/ip route add gateway=$GATEWAY /ip route add gateway=$GATEWAY
EOF EOF
echo "$MSG_AUTO_RUN_FILE_CREATED" echo "$MSG_AUTO_RUN_FILE_CREATED:\n$(cat "$MNT/rw/autorun.scr")"
umount $MNT umount $MNT
losetup -d "$LOOP" losetup -d "$LOOP"
else else