mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 18:49:41 +00:00
modified: chr.sh
This commit is contained in:
parent
1a5647bd98
commit
b7ee8aaa1a
3
chr.sh
3
chr.sh
@ -305,7 +305,8 @@ 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:\n$(cat "$MNT/rw/autorun.scr")"
|
echo "$MSG_AUTO_RUN_FILE_CREATED:"
|
||||||
|
cat "$MNT/rw/autorun.scr"
|
||||||
umount $MNT
|
umount $MNT
|
||||||
losetup -d "$LOOP"
|
losetup -d "$LOOP"
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user