Now 'chmod a-x /bsd.upgrade' works in order to prevent re-upgrade, like other architectures.
Tested by me on LUNA-88K2.
-/* $OpenBSD: conf.c,v 1.5 2023/02/11 04:35:34 aoyama Exp $ */
+/* $OpenBSD: conf.c,v 1.6 2023/06/18 13:13:00 aoyama Exp $ */
/* $NetBSD: conf.c,v 1.3 2013/01/16 15:46:20 tsutsui Exp $ */
/*
__CONCAT(fs,_write), \
__CONCAT(fs,_seek), \
__CONCAT(fs,_stat), \
- __CONCAT(fs,_readdir) }
+ __CONCAT(fs,_readdir), \
+ __CONCAT(fs,_fchmod) }
#ifdef SUPPORT_DISK
struct fs_ops file_system_disk[] = {
FS_OPS(ufs),
int nfsys_disk = sizeof(file_system_disk) / sizeof(file_system_disk[0]);
#endif
#ifdef SUPPORT_ETHERNET
+#define nfs_fchmod NULL
struct fs_ops file_system_nfs[] = { FS_OPS(nfs) };
#endif