https://zhuanlan.zhihu.com/p/745392146
参考了这个帖子
chmod: missing operand after '+x/etc/rc.local'
Try 'chmod --help' for more information.
pico@luckfox:/etc$ sudo chmod +x /etc/rc.local
pico@luckfox:/etc$ sudo systemctl enable rc-local.service
Failed to reload daemon: Refusing to reload, not enough space available on /run/systemd. Currently, 10.3M are free, but a safety buffer of 16.0M is enforced.
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.
pico@luckfox:/etc$ ^C
pico@luckfox:/etc$ ^C
pico@luckfox:/etc$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 5.9G 1.9G 3.8G 33% /
tmpfs 29M 0 29M 0% /dev/shm
tmpfs 12M 904K 11M 8% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk1p6 238M 15K 233M 1% /userdata
/dev/mmcblk1p5 488M 20M 462M 4% /oem
tmpfs 5.7M 0 5.7M 0% /run/user/1000
pico@luckfox:/etc$ vim fstab
sudo chmod +x /etc/rc.local,但是这条指令无法执行,说空间不够
然后又参考了这个帖子:
https://blog.csdn.net/weixin_27828313/a ... /116841561
但是vim fstab是只读文件 无法修改
。。。。。不知道要怎么操作了
luckfox pico,ubuntu系统,如何通过usb线连接电脑的网络上网
如果上述链接失效,可参考此帖子实现viewtopic.php?t=1250