Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Commit

Permalink
add telnet opkg
Browse files Browse the repository at this point in the history
  • Loading branch information
JimLee1996 committed Aug 23, 2017
1 parent 1c05764 commit b2174f5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
3 changes: 2 additions & 1 deletion squashfs-root/bin/login.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
# EOF
# fi

exec /bin/ash --login
# exec /bin/ash --login
exec /bin/login
6 changes: 3 additions & 3 deletions squashfs-root/etc/init.d/telnet
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ start_service() {
#fi

# 暂时先允许一直开启,后续加入认证开启机制
# procd_open_instance
# procd_set_param command "$PROG" -F -l /bin/login.sh
# procd_close_instance
procd_open_instance
procd_set_param command "$PROG" -F -l /bin/login.sh
procd_close_instance
}
8 changes: 3 additions & 5 deletions squashfs-root/etc/opkg.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7621/packages/base
# src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7621/packages/packages
# src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7621/packages/luci
# src/gz barrier_breaker_routing http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7621/packages/routing
# src/gz barrier_breaker_management http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7621/packages/management
src/gz barrier_breaker_base http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7621/packages/base
src/gz barrier_breaker_packages http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7621/packages/packages
src/gz barrier_breaker_luci http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7621/packages/luci
2 changes: 1 addition & 1 deletion squashfs-root/etc/shadow
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
root:$1$AzjA4pvB$OT/iYgcmacT7kbot3ATl40:0:0:99999:7:::
root:$1$IjJSZYnP$14XuZ/eoGldE8Qz2BXkyO.:15797:0:99999:7:::
daemon:*:0:0:99999:7:::
ftp:*:0:0:99999:7:::
network:*:0:0:99999:7:::
Expand Down

0 comments on commit b2174f5

Please sign in to comment.